/* 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,
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). */
#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.")
\f
/* 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"
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;