|
|
1.1 root 1: /* Definitions of target machine for GNU compiler,
2: for IBM RS/6000 running MACH.
3: Copyright (C) 1992 Free Software Foundation, Inc.
4: Contributed by Richard Kenner ([email protected])
5:
6: This file is part of GNU CC.
7:
8: GNU CC is free software; you can redistribute it and/or modify
9: it under the terms of the GNU General Public License as published by
10: the Free Software Foundation; either version 2, or (at your option)
11: any later version.
12:
13: GNU CC is distributed in the hope that it will be useful,
14: but WITHOUT ANY WARRANTY; without even the implied warranty of
15: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16: GNU General Public License for more details.
17:
18: You should have received a copy of the GNU General Public License
19: along with GNU CC; see the file COPYING. If not, write to
20: the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
21:
22:
23: #include "rs6000/rs6000.h"
24:
25: /* We don't define AIX under MACH; instead we define `unix'. */
26: #undef CPP_PREDEFINES
27: #define CPP_PREDEFINES "-Drios -D_IBMR2 -Dunix -Asystem(unix) -Asystem(mach) -Acpu(rs6000) -Amachine(rs6000)"
28:
29: /* Define different binder options for MACH. */
30: #undef LINK_SPEC
31: #define LINK_SPEC \
32: "-T0x10000000 -D0x20000000 -K %{!nostdlib:%{!r*:%{!e*:-e __start}}} \
33: -bnoso -berrmsg -btextro -bhalt:4 -bnodelcsect"
34:
35: /* MACH doesn't have atexit. */
36: #undef HAVE_ATEXIT
37:
38: /* Don't default to pcc-struct-return, because gcc is the only compiler, and
39: we want to retain compatibility with older gcc versions. */
40: #define DEFAULT_PCC_STRUCT_RETURN 0
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.