Commit 4a392643 by Richard Stallman

*** empty log message ***

From-SVN: r921
parent 431b1786
...@@ -55,7 +55,8 @@ enum delay_type { ...@@ -55,7 +55,8 @@ enum delay_type {
/* Which processor to schedule for. Since there is no difference between /* Which processor to schedule for. Since there is no difference between
a R2000 and R3000 in terms of the scheduler, we collapse them into a R2000 and R3000 in terms of the scheduler, we collapse them into
just an R3000. */ just an R3000. The elements of the enumeration must match exactly
the cpu attribute in the mips.md machine description. */
enum processor_type { enum processor_type {
PROCESSOR_DEFAULT, PROCESSOR_DEFAULT,
...@@ -64,6 +65,9 @@ enum processor_type { ...@@ -64,6 +65,9 @@ enum processor_type {
PROCESSOR_R4000 PROCESSOR_R4000
}; };
/* Recast the cpu class to be the cpu attribute. */
#define mips_cpu_attr ((enum attr_cpu)mips_cpu)
/* Which type of block move to do (whether or not the last store is /* Which type of block move to do (whether or not the last store is
split out so it can fill a branch delay slot). */ split out so it can fill a branch delay slot). */
...@@ -170,6 +174,8 @@ extern void text_section (); ...@@ -170,6 +174,8 @@ extern void text_section ();
#ifndef HALF_PIC_P #ifndef HALF_PIC_P
#define HALF_PIC_P() 0 #define HALF_PIC_P() 0
#define HALF_PIC_NUMBER_PTRS 0
#define HALF_PIC_NUMBER_REFS 0
#define HALF_PIC_ENCODE(DECL) #define HALF_PIC_ENCODE(DECL)
#define HALF_PIC_DECLARE(NAME) #define HALF_PIC_DECLARE(NAME)
#define HALF_PIC_INIT() error ("half-pic init called on systems that don't support it.") #define HALF_PIC_INIT() error ("half-pic init called on systems that don't support it.")
...@@ -420,7 +426,7 @@ while (0) ...@@ -420,7 +426,7 @@ while (0)
/* Print subsidiary information on the compiler version in use. */ /* Print subsidiary information on the compiler version in use. */
#define MIPS_VERSION "[AL 1.1, MM 17]" #define MIPS_VERSION "[AL 1.1, MM 18]"
#ifndef MACHINE_TYPE #ifndef MACHINE_TYPE
#define MACHINE_TYPE "BSD Mips" #define MACHINE_TYPE "BSD Mips"
......
...@@ -242,25 +242,11 @@ char *glevel_to_string __proto((glevel_t)); ...@@ -242,25 +242,11 @@ char *glevel_to_string __proto((glevel_t));
char *lang_to_string __proto((lang_t)); char *lang_to_string __proto((lang_t));
char *type_to_string __proto((AUXU *, int)); char *type_to_string __proto((AUXU *, int));
/* Library routines with prototypes. */
#if !defined(NO_LIB_PROTOTYPE) && !defined(_OSF_SOURCE) && !defined(_STDIO_H_)
extern void perror __proto((const char *));
extern char *strcpy __proto((char *, const char *));
extern int strlen __proto((const char *));
extern int open __proto((const char *, int, ...));
#endif
extern int read __proto((int, PTR_T, size_t));
extern int write __proto((int, CPTR_T, size_t));
extern int close __proto((int));
extern off_t lseek __proto((int, off_t, int));
extern PTR_T malloc __proto((size_t)); extern PTR_T malloc __proto((size_t));
extern PTR_T calloc __proto((size_t, size_t)); extern PTR_T calloc __proto((size_t, size_t));
extern PTR_T realloc __proto((PTR_T, size_t)); extern PTR_T realloc __proto((PTR_T, size_t));
extern void free __proto((PTR_T)); extern void free __proto((PTR_T));
extern void exit __proto((int));
extern char *ctime __proto((time_t *)); extern char *ctime __proto((time_t *));
extern int getopt __proto((int, char **, const char *));
extern char *optarg; extern char *optarg;
extern int optind; extern int optind;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment