|
|
1.1 root 1: /* Embedded ELF system support, using old AIX based calling sequence.
2: Copyright (C) 1995 Free Software Foundation, Inc.
3: Contributed by Cygnus Support.
4:
5: This file is part of GNU CC.
6:
7: GNU CC is free software; you can redistribute it and/or modify
8: it under the terms of the GNU General Public License as published by
9: the Free Software Foundation; either version 2, or (at your option)
10: any later version.
11:
12: GNU CC is distributed in the hope that it will be useful,
13: but WITHOUT ANY WARRANTY; without even the implied warranty of
14: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15: GNU General Public License for more details.
16:
17: You should have received a copy of the GNU General Public License
18: along with GNU CC; see the file COPYING. If not, write to
19: the Free Software Foundation, 59 Temple Place - Suite 330,
20: Boston, MA 02111-1307, USA. */
21:
22: #include "rs6000/eabi.h"
23:
24: #undef TARGET_DEFAULT
25: #define TARGET_DEFAULT (MASK_POWERPC | MASK_NEW_MNEMONICS | MASK_AIX_CALLS)
26:
27: #undef CPP_SPEC
28: #define CPP_SPEC "\
29: %{posix: -D_POSIX_SOURCE} \
30: %{mrelocatable: -D_RELOCATABLE} \
31: %{mcall-sysv: -D_CALL_SYSV} %{mcall-aix: -D_CALL_AIX} %{!mcall-sysv: %{!mcall-aix: -D_CALL_AIX}} \
32: %{msoft-float: -D_SOFT_FLOAT} %{mcpu=403: -D_SOFT_FLOAT} \
33: %{mlittle: -D_LITTLE_ENDIAN -Amachine(littleendian)} \
34: %{mlittle-endian: -D_LITTLE_ENDIAN -Amachine(littleendian)} \
35: %{!mlittle: %{!mlittle-endian: -D_BIG_ENDIAN -Amachine(bigendian)}} \
36: %{!mcpu*: \
37: %{mpower: %{!mpower2: -D_ARCH_PWR}} \
38: %{mpower2: -D_ARCH_PWR2} \
39: %{mpowerpc*: -D_ARCH_PPC} \
40: %{mno-powerpc: %{!mpower: %{!mpower2: -D_ARCH_COM}}} \
41: %{!mno-powerpc: -D_ARCH_PPC}} \
42: %{mcpu=common: -D_ARCH_COM} \
43: %{mcpu=power: -D_ARCH_PWR} \
44: %{mcpu=powerpc: -D_ARCH_PPC} \
45: %{mcpu=rios: -D_ARCH_PWR} \
46: %{mcpu=rios1: -D_ARCH_PWR} \
47: %{mcpu=rios2: -D_ARCH_PWR2} \
48: %{mcpu=rsc: -D_ARCH_PWR} \
49: %{mcpu=rsc1: -D_ARCH_PWR} \
50: %{mcpu=403: -D_ARCH_PPC} \
51: %{mcpu=601: -D_ARCH_PPC -D_ARCH_PWR} \
52: %{mcpu=603: -D_ARCH_PPC} \
53: %{mcpu=604: -D_ARCH_PPC}"
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.