aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/elxsi/elxsi.h
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2000-01-14 16:00:37 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2000-01-14 16:00:37 +0000
commitab526045918871bdd1f351b9e7ce98946a8403d9 (patch)
tree57c6865bad33bec2ab9b7ad9aba0142913425d43 /gcc/config/elxsi/elxsi.h
parent4790d87842d63ed963525ac07504ac2e8e3086f7 (diff)
downloadgcc-ab526045918871bdd1f351b9e7ce98946a8403d9.zip
gcc-ab526045918871bdd1f351b9e7ce98946a8403d9.tar.gz
gcc-ab526045918871bdd1f351b9e7ce98946a8403d9.tar.bz2
elxsi-protos.h: New file.
* elxsi-protos.h: New file. * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile time warnings. * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time warnings. * elxsi.md: Likewise. From-SVN: r31414
Diffstat (limited to 'gcc/config/elxsi/elxsi.h')
-rw-r--r--gcc/config/elxsi/elxsi.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/gcc/config/elxsi/elxsi.h b/gcc/config/elxsi/elxsi.h
index 06e83f8..8b3e006 100644
--- a/gcc/config/elxsi/elxsi.h
+++ b/gcc/config/elxsi/elxsi.h
@@ -1,5 +1,5 @@
/* Definitions of target machine for GNU compiler. Elxsi version.
- Copyright (C) 1987, 88, 92, 95, 96, 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1987, 88, 92, 95, 96, 98, 99, 2000 Free Software Foundation, Inc.
Contributed by Mike Stump <mrs@cygnus.com> in 1988. This is the first
64 bit port of GNU CC.
Based upon the VAX port.
@@ -234,7 +234,7 @@ enum reg_class { NO_REGS, GENERAL_REGS, ALL_REGS, LIM_REG_CLASSES };
This is an initializer for a vector of HARD_REG_SET
of length N_REG_CLASSES. */
-#define REG_CLASS_CONTENTS {0, 0x07fff, 0xffff}
+#define REG_CLASS_CONTENTS {{0}, {0x07fff}, {0xffff}}
/* The same information, inverted:
Return the class number of the smallest class containing
@@ -714,7 +714,7 @@ enum reg_class { NO_REGS, GENERAL_REGS, ALL_REGS, LIM_REG_CLASSES };
} while (0)
/* Output at beginning of assembler file. */
-#define ASM_FILE_START(FILE) fprintf (FILE, "");
+#define ASM_FILE_START(FILE) fputs ("", (FILE));
/* Output to assembler file text saying following lines
may contain character constants, extra white space, comments, etc. */
@@ -882,7 +882,7 @@ enum reg_class { NO_REGS, GENERAL_REGS, ALL_REGS, LIM_REG_CLASSES };
to a multiple of 2**LOG bytes. */
#define ASM_OUTPUT_ALIGN(FILE,LOG) \
- if (LOG!=0) fprintf (FILE, "\t.align\t%d\n", (LOG)); else 0
+ do { if (LOG!=0) fprintf (FILE, "\t.align\t%d\n", (LOG)); } while (0)
/* This is how to output an assembler line
that says to advance the location counter by SIZE bytes. */
@@ -954,11 +954,6 @@ enum reg_class { NO_REGS, GENERAL_REGS, ALL_REGS, LIM_REG_CLASSES };
#define PRINT_OPERAND_ADDRESS(FILE, ADDR) \
print_operand_address (FILE, ADDR)
-/* Functions used in the md file. */
-
-extern char *cmp_set();
-extern char *cmp_jmp();
-
/* These are stubs, and have yet to bee written. */
#define TRAMPOLINE_SIZE 26