|
|
1.1 root 1: /* Definitions of target machine for GNU compiler,
2: for IBM RS/6000 PowerPC running AIX version 3.2.
1.1.1.2 ! root 3: Copyright (C) 1993, 1994 Free Software Foundation, Inc.
1.1 root 4: Contributed by David Edelsohn ([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: #undef ASM_SPEC
1.1.1.2 ! root 26: #define ASM_SPEC "-u -mppc"
! 27:
! 28: #undef CPP_SPEC
! 29: #define CPP_SPEC "\
! 30: %{!mcpu*: \
! 31: %{mpower: %{!mpower2: -D_ARCH_PWR}} \
! 32: %{mpower2: -D_ARCH_PWR2} \
! 33: %{mpowerpc*: -D_ARCH_PPC} \
! 34: %{mno-powerpc: %{!mpower: %{!mpower2: -D_ARCH_COM}}} \
! 35: %{!mno-powerpc: -D_ARCH_PPC}} \
! 36: %{mcpu=common: -D_ARCH_COM} \
! 37: %{mcpu=power: -D_ARCH_PWR} \
! 38: %{mcpu=powerpc: -D_ARCH_PPC} \
! 39: %{mcpu=rios: -D_ARCH_PWR} \
! 40: %{mcpu=rios1: -D_ARCH_PWR} \
! 41: %{mcpu=rios2: -D_ARCH_PWR2} \
! 42: %{mcpu=rsc: -D_ARCH_PWR} \
! 43: %{mcpu=rsc1: -D_ARCH_PWR} \
! 44: %{mcpu=601: -D_ARCH_PPC -D_ARCH_PWR} \
! 45: %{mcpu=mpc601: -D_ARCH_PPC -D_ARCH_PWR} \
! 46: %{mcpu=ppc601: -D_ARCH_PPC -D_ARCH_PWR} \
! 47: %{mcpu=603: -D_ARCH_PPC} \
! 48: %{mcpu=mpc603: -D_ARCH_PPC} \
! 49: %{mcpu=ppc603: -D_ARCH_PPC} \
! 50: %{mcpu=604: -D_ARCH_PPC} \
! 51: %{mcpu=mpc604: -D_ARCH_PPC} \
! 52: %{mcpu=ppc604: -D_ARCH_PPC}"
1.1 root 53:
54: #undef TARGET_DEFAULT
1.1.1.2 ! root 55: #define TARGET_DEFAULT (MASK_POWERPC | MASK_NEW_MNEMONICS)
1.1 root 56:
57: #undef PROCESSOR_DEFAULT
58: #define PROCESSOR_DEFAULT PROCESSOR_PPC601
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.