From: Richard Stallman Date: Wed, 6 May 1992 21:30:57 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4a39264367b95457f73b01dee38aaff729cd81ee;p=gcc.git *** empty log message *** From-SVN: r921 --- diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 6d7b17960de..4876ef7294d 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -55,7 +55,8 @@ enum delay_type { /* Which processor to schedule for. Since there is no difference between 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 { PROCESSOR_DEFAULT, @@ -64,6 +65,9 @@ enum processor_type { 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 split out so it can fill a branch delay slot). */ @@ -170,6 +174,8 @@ extern void text_section (); #ifndef HALF_PIC_P #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_DECLARE(NAME) #define HALF_PIC_INIT() error ("half-pic init called on systems that don't support it.") @@ -420,7 +426,7 @@ while (0) /* 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 #define MACHINE_TYPE "BSD Mips" diff --git a/gcc/mips-tdump.c b/gcc/mips-tdump.c index 239c3a1684d..49f6d2fc105 100644 --- a/gcc/mips-tdump.c +++ b/gcc/mips-tdump.c @@ -242,25 +242,11 @@ char *glevel_to_string __proto((glevel_t)); char *lang_to_string __proto((lang_t)); 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 calloc __proto((size_t, size_t)); extern PTR_T realloc __proto((PTR_T, size_t)); extern void free __proto((PTR_T)); -extern void exit __proto((int)); extern char *ctime __proto((time_t *)); -extern int getopt __proto((int, char **, const char *)); extern char *optarg; extern int optind;