]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/config/rs6000/darwin32-biarch.h
Update copyright years.
[thirdparty/gcc.git] / gcc / config / rs6000 / darwin32-biarch.h
1 /* Target definitions for PowerPC running Darwin (Mac OS X) for a 32b host
2 with a 64b miultilib.
3 Copyright (C) 2019-2020 Free Software Foundation, Inc.
4
5 This file is part of GCC.
6
7 GCC is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published
9 by the Free Software Foundation; either version 3, or (at your
10 option) any later version.
11
12 GCC is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
15 License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING3. If not see
19 <http://www.gnu.org/licenses/>. */
20
21 #undef DARWIN_ARCH_SPEC
22 #define DARWIN_ARCH_SPEC "%{m64:ppc64;:ppc}"
23
24 #undef DARWIN_SUBARCH_SPEC
25 #define DARWIN_SUBARCH_SPEC " \
26 %{m64: ppc64} \
27 %{!m64: \
28 %{mcpu=601:ppc601; \
29 mcpu=603:ppc603; \
30 mcpu=603e:ppc603; \
31 mcpu=604:ppc604; \
32 mcpu=604e:ppc604e; \
33 mcpu=740:ppc750; \
34 mcpu=750:ppc750; \
35 mcpu=G3:ppc750; \
36 mcpu=7400:ppc7400; \
37 mcpu=G4:ppc7400; \
38 mcpu=7450:ppc7450; \
39 mcpu=970:ppc970; \
40 mcpu=power4:ppc970; \
41 mcpu=G5:ppc970; \
42 :ppc}}"
43
44 #undef SUBTARGET_EXTRA_SPECS
45 #define SUBTARGET_EXTRA_SPECS \
46 DARWIN_EXTRA_SPECS \
47 { "darwin_arch", DARWIN_ARCH_SPEC }, \
48 { "darwin_crt2", DARWIN_CRT2_SPEC }, \
49 { "darwin_subarch", DARWIN_SUBARCH_SPEC },