summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-05-06 21:30:57 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-05-06 21:30:57 +0000
commit2dfc112878934ec81536335f57b6b47396360a8c (patch)
tree9bab58dd21c8fb77fa5360a11cdcef9f5ea36538 /gcc
parent87a66107be6a6c7bc7648fff6275c7844bf351b8 (diff)
downloadgcc-2dfc112878934ec81536335f57b6b47396360a8c.tar.gz
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@921 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/mips/mips.h10
-rw-r--r--gcc/mips-tdump.c14
2 files changed, 8 insertions, 16 deletions
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;