/* Target definitions for GNU compiler for Intel 80860 running OSF/1AD
- Copyright (C) 1991, 1996 Free Software Foundation, Inc.
-
- Based upon original work of Ron Guilmette (rfg@netcom.com).
- Whacked into submission by Andy Pfiffer (andyp@ssd.intel.com).
+ Copyright (C) 1991, 1996, 1999, 2000 Free Software Foundation, Inc.
+ Based upon original work of Ron Guilmette (rfg@monkeys.com).
+ Contributed by Andy Pfiffer (andyp@ssd.intel.com).
Partially inspired by
- Pete Beckman @ Indiana University (beckman@cs.indiana.edu)
+ Pete Beckman of Indiana University (beckman@cs.indiana.edu)
Harry Dolan of Intel Corporation (dolan@ssd.intel.com)
This file is part of GNU CC.
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#include "i860/i860.h"
-#include "svr3.h"
-
-/* For the sake of libgcc2.c, indicate target supports atexit. */
-#define HAVE_ATEXIT
-
#undef TARGET_SWITCHES
#define TARGET_SWITCHES \
- { {"xp", 1}, \
- {"noxp", -1}, \
- {"xr", -1}, \
- {"noieee", -1}, \
- {"nx", 2}, \
- { "", TARGET_DEFAULT}}
+ { {"xp", 1, N_("Generate code which uses the FPU")}, \
+ {"noxp", -1, N_("Do not generate code which uses the FPU")}, \
+ {"xr", -1, N_("Do not generate code which uses the FPU")}, \
+ {"noieee", -1, N_("Do not generate code which uses the FPU")}, \
+ {"nx", 2, NULL}, \
+ { "", TARGET_DEFAULT, NULL}}
#undef TARGET_DEFAULT
#define TARGET_DEFAULT 1
/* libpm.o and guard.o are for the performance monitoring modules (ignored) */
/* /usr/lib/noieee contains non-IEEE compliant (but faster) math routines */
#if HAVE_DASH_G
-#define LIB_SPEC "%{mnoieee:-L/usr/lib/noieee} %{mnx:-lnx -lmach} %
-{g*:-lg} -lc -lic"
+#define LIB_SPEC \
+"%{mnoieee:-L/usr/lib/noieee} %{mnx:-lnx} %{g*:-lg} -lc -lmach -lc -lic"
#else /* HAVE_DASH_G */
/* can't use -g for -lg; libg.a doesn't have a symbol table and ld complains */
-#define LIB_SPEC "%{mnoieee:-L/usr/lib/noieee} %{mnx:-lnx -lmach} -lc -lic"
+#define LIB_SPEC "%{mnoieee:-L/usr/lib/noieee} %{mnx:-lnx} -lc -lmach -lc -lic"
#endif /* HAVE_DASH_G */
/* Get rid of definition from svr3.h. */
#define DBX_REGISTER_NUMBER(REGNO) (REGNO)
#undef ASCII_DATA_ASM_OP
-#define ASCII_DATA_ASM_OP ".byte"
+#define ASCII_DATA_ASM_OP "\t.byte\t"
/*
* the assembler we're using doesn't grok .ident...
#define ASM_OUTPUT_ASCII(FILE, STR, LENGTH) \
do \
{ \
- register unsigned char *str = (unsigned char *) (STR); \
- register unsigned char *limit = str + (LENGTH); \
+ register const unsigned char *str = (const unsigned char *) (STR); \
+ register const unsigned char *limit = str + (LENGTH); \
register unsigned bytes_in_chunk = 0; \
for (; str < limit; str++) \
{ \
fprintf ((FILE), "\"\n"); \
bytes_in_chunk = 0; \
} \
- fprintf ((FILE), "\t%s\t%d\n", ASM_BYTE_OP, ch); \
+ fprintf ((FILE), "%s%d\n", ASM_BYTE_OP, ch); \
} \
else \
{ \
bytes_in_chunk = 0; \
} \
if (bytes_in_chunk == 0) \
- fprintf ((FILE), "\t%s\t\"", ASCII_DATA_ASM_OP);\
+ fprintf ((FILE), "%s\"", ASCII_DATA_ASM_OP); \
putc (ch, (FILE)); \
bytes_in_chunk++; \
} \
*/
#define ASM_STABS_OP "//.stabs"
-/* Define this macro if an argument declared as `char' or `short' in a
- prototype should actually be passed as an `int'. In addition to
- avoiding errors in certain cases of mismatch, it also makes for
- better code on certain machines. */
-/*#define PROMOTE_PROTOTYPES*/
-
/* Define this macro if an instruction to load a value narrower
than a word from memory into a register also zero-extends the
value to the whole register. */
#undef SELECT_RTX_SECTION
#undef READONLY_DATA_SECTION
-#define BSS_SECTION_ASM_OP ".bss" /* XXX */
+#define BSS_SECTION_ASM_OP "\t.bss" /* XXX */
#undef EXTRA_SECTIONS
#undef EXTRA_SECTION_FUNCTIONS