/* Definitions of target machine for GNU compiler.
AT&T UNIX PC version (pc7300, 3b1)
- Copyright (C) 1987, 1993, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1987, 1993, 1996, 1999, 2000 Free Software Foundation, Inc.
Contributed by Alex Crain (alex@umbc3.umd.edu).
This file is part of GNU CC.
#define ASM_FILE_START(FILE) \
output_file_directive ((FILE), main_input_filename)
-/* Don't try to define `gcc_compiled.' since the assembler might not
- accept symbols with periods and GDB doesn't run on this machine anyway. */
-#define ASM_IDENTIFY_GCC(FILE)
-
/* Define __HAVE_68881__ in preprocessor if -m68881 is specified.
This will control the use of inline 68881 insns in certain macros. */
/* ihnp4!lmayk!lgm@eddie.mit.edu says mc68000 and m68k should not be here. */
#undef CPP_PREDEFINES
-#define CPP_PREDEFINES "-Dmc68k -Dunix -Dunixpc -D__motorola__ -Asystem(unix) -Asystem(svr3) -Acpu(m68k) -Amachine(m68k)"
+#define CPP_PREDEFINES "-Dmc68k -Dunix -Dunixpc -D__motorola__ -Asystem=unix -Asystem=svr3 -Acpu=m68k -Amachine=m68k"
#undef REGISTER_NAMES
#define REGISTER_NAMES \
/* The 3b1 does not have `atexit'. */
-#undef HAVE_ATEXIT
+#define NEED_ATEXIT
/* Override parts of m68k.h to fit the SGS-3b1 assembler. */
#define ASM_OUTPUT_SOURCE_LINE(FILE, LINENO) \
fprintf (FILE, "\tln\t%d\n", \
(sdb_begin_function_line \
- ? last_linenum - sdb_begin_function_line : 1))
+ ? (LINENO) - sdb_begin_function_line : 1))
/* Yet another null terminated string format. */
if (++sp < (LEN)) \
{ if (lp > 60) \
{ lp = 0; \
- fprintf ((FILE), "\n\t%s ", ASCII_DATA_ASM_OP); } \
+ fprintf ((FILE), "\n%s", ASCII_DATA_ASM_OP); } \
else \
putc (',', (FILE)); \
goto loop; } \
#define ASM_OUTPUT_ADDR_VEC_ELT(FILE, VALUE) \
fprintf (FILE, "\tlong L%%%d\n", (VALUE))
-#define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, VALUE, REL) \
+#define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, BODY, VALUE, REL) \
fprintf (FILE, "\tshort L%%%d-L%%%d\n", (VALUE), (REL))
/* ihnp4!lmayk!lgm says that `short 0' triggers assembler bug;
/* Definitions for collect2. */
#define OBJECT_FORMAT_COFF
-#define NO_SYS_SIGLIST
#define MY_ISCOFF(magic) \
((magic) == MC68KWRMAGIC || (magic) == MC68KROMAGIC || (magic) == MC68KPGMAGIC)