]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/config/rs6000/sysv4le.h
Change FSF address.
[thirdparty/gcc.git] / gcc / config / rs6000 / sysv4le.h
1 /* Target definitions for GNU compiler for a little endian PowerPC
2 running System V.4
3 Copyright (C) 1995, Free Software Foundation, Inc.
4 Contributed by Cygnus Support.
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, 59 Temple Place - Suite 330,
21 Boston, MA 02111-1307, USA. */
22
23 #include "rs6000/sysv4.h"
24
25 #undef TARGET_DEFAULT
26 #define TARGET_DEFAULT (MASK_POWERPC | MASK_NEW_MNEMONICS | MASK_LITTLE_ENDIAN)
27
28 #undef CPP_SPEC
29 #define CPP_SPEC "\
30 %{posix: -D_POSIX_SOURCE} \
31 %{mrelocatable: -D_RELOCATABLE} \
32 %{mbig: -D_BIG_ENDIAN -Amachine(bigendian)} \
33 %{mbig-endian: -D_BIG_ENDIAN -Amachine(bigendian)} \
34 %{!mbig: %{!mbig-endian: -D_LITTLE_ENDIAN -Amachine(littleendian)}} \
35 %{!mcpu*: \
36 %{mpower: %{!mpower2: -D_ARCH_PWR}} \
37 %{mpower2: -D_ARCH_PWR2} \
38 %{mpowerpc*: -D_ARCH_PPC} \
39 %{mno-powerpc: %{!mpower: %{!mpower2: -D_ARCH_COM}}} \
40 %{!mno-powerpc: -D_ARCH_PPC}} \
41 %{mcpu=common: -D_ARCH_COM} \
42 %{mcpu=power: -D_ARCH_PWR} \
43 %{mcpu=powerpc: -D_ARCH_PPC} \
44 %{mcpu=rios: -D_ARCH_PWR} \
45 %{mcpu=rios1: -D_ARCH_PWR} \
46 %{mcpu=rios2: -D_ARCH_PWR2} \
47 %{mcpu=rsc: -D_ARCH_PWR} \
48 %{mcpu=rsc1: -D_ARCH_PWR} \
49 %{mcpu=403: -D_ARCH_PPC} \
50 %{mcpu=mpc403: -D_ARCH_PPC} \
51 %{mcpu=ppc403: -D_ARCH_PPC} \
52 %{mcpu=601: -D_ARCH_PPC -D_ARCH_PWR} \
53 %{mcpu=mpc601: -D_ARCH_PPC -D_ARCH_PWR} \
54 %{mcpu=ppc601: -D_ARCH_PPC -D_ARCH_PWR} \
55 %{mcpu=603: -D_ARCH_PPC} \
56 %{mcpu=mpc603: -D_ARCH_PPC} \
57 %{mcpu=ppc603: -D_ARCH_PPC} \
58 %{mcpu=604: -D_ARCH_PPC} \
59 %{mcpu=mpc604: -D_ARCH_PPC} \
60 %{mcpu=ppc604: -D_ARCH_PPC}"