|
|
1.1 root 1: /* Definitions of target machine for GNU compiler.
2: Motorola 88100 in an 88open ABI environment.
3: Copyright (C) 1990, 1991 Free Software Foundation, Inc.
4: Written by Ron Guilmette ([email protected]).
5: Contributed to FSF by Network Computing Devices.
6: Other contributions by Vince Guarna ([email protected]),
7: Ray Essick ([email protected]), Wilson Tien ([email protected]),
8: and Tom Wood ([email protected])
9:
10: This file is part of GNU CC.
11:
12: GNU CC is free software; you can redistribute it and/or modify
13: it under the terms of the GNU General Public License as published by
14: the Free Software Foundation; either version 2, or (at your option)
15: any later version.
16:
17: GNU CC is distributed in the hope that it will be useful,
18: but WITHOUT ANY WARRANTY; without even the implied warranty of
19: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20: GNU General Public License for more details.
21:
22: You should have received a copy of the GNU General Public License
23: along with GNU CC; see the file COPYING. If not, write to
24: the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
25:
26: /* DWARF_DEBUGGING_INFO defined in svr4.h. */
27:
28: #ifndef NO_BUGS
29: #define AS_BUG_DOT_LABELS
30: #define AS_BUG_POUND_TYPE
31: #endif
32:
33: #include "svr4.h"
34: #include "m88k/m88k.h"
35:
36: /* Identify the compiler. */
37: #undef VERSION_INFO1
38: #define VERSION_INFO1 "88open ABI, "
39:
40: /* Default switches */
41: #undef TARGET_DEFAULT
42: #define TARGET_DEFAULT (MASK_CHECK_ZERO_DIV | \
43: MASK_OCS_DEBUG_INFO | \
44: MASK_SVR4)
45:
46: /* Cpp spec. These pre-assertions are needed for SVR4 as they occur
47: often in the system header files. __svr4__ is our extension. */
48:
49: #undef CPP_PREDEFINES
50: #define CPP_PREDEFINES \
51: "-Dm88000 -Dm88k -Dunix -D__svr4__ -Amachine(m88k) -Acpu(m88k) -Asystem(unix) -Asystem(svr4)"
52:
53: /* For the AT&T SVR4 port, the function is _mcount. */
54: #undef FUNCTION_PROFILER
55: #define FUNCTION_PROFILER(FILE, LABELNO) \
56: output_function_profiler (FILE, LABELNO, "_mcount", 1)
57:
58: /* Override svr4.h and m88k.h. */
59: #undef INIT_SECTION_ASM_OP
60: #define INIT_SECTION_ASM_OP "section\t.init,\"xa\",#progbits"
61: #undef CTORS_SECTION_ASM_OP
62: #define CTORS_SECTION_ASM_OP "section\t.ctors,\"a\",#progbits"
63: #undef DTORS_SECTION_ASM_OP
64: #define DTORS_SECTION_ASM_OP "section\t.dtors,\"a\",#progbits"
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.