]>
Commit | Line | Data |
---|---|---|
c2ff7104 IS |
1 | /* Target definitions for PowerPC64 running Darwin (Mac OS X) for a 64b host |
2 | supporting a 32b multilib. | |
a945c346 | 3 | Copyright (C) 2006-2024 Free Software Foundation, Inc. |
b8ec3cc8 EC |
4 | Contributed by Apple Computer Inc. |
5 | ||
6 | This file is part of GCC. | |
7 | ||
8 | GCC is free software; you can redistribute it and/or modify it | |
9 | under the terms of the GNU General Public License as published | |
2f83c7d6 | 10 | by the Free Software Foundation; either version 3, or (at your |
b8ec3cc8 EC |
11 | option) any later version. |
12 | ||
13 | GCC is distributed in the hope that it will be useful, but WITHOUT | |
14 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | |
15 | or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | |
16 | License for more details. | |
17 | ||
18 | You should have received a copy of the GNU General Public License | |
2f83c7d6 NC |
19 | along with GCC; see the file COPYING3. If not see |
20 | <http://www.gnu.org/licenses/>. */ | |
b8ec3cc8 | 21 | |
b8ec3cc8 | 22 | #undef TARGET_DEFAULT |
a441dedb | 23 | #define TARGET_DEFAULT (MASK_POWERPC64 | MASK_64BIT \ |
eb2887a1 | 24 | | OPTION_MASK_MULTIPLE | OPTION_MASK_PPC_GFXOPT) |
b8ec3cc8 EC |
25 | |
26 | #undef DARWIN_ARCH_SPEC | |
9a2d05e0 | 27 | #define DARWIN_ARCH_SPEC "%{m32:ppc;:ppc64}" |
b8ec3cc8 | 28 | |
000a0020 | 29 | /* Actually, there's really only 970 as an active option. */ |
b8ec3cc8 EC |
30 | #undef DARWIN_SUBARCH_SPEC |
31 | #define DARWIN_SUBARCH_SPEC DARWIN_ARCH_SPEC | |
32 | ||
000a0020 IS |
33 | #undef SUBTARGET_EXTRA_SPECS |
34 | #define SUBTARGET_EXTRA_SPECS \ | |
35 | DARWIN_EXTRA_SPECS \ | |
36 | { "darwin_arch", DARWIN_ARCH_SPEC }, \ | |
37 | { "darwin_crt2", "" }, \ | |
38 | { "darwin_subarch", DARWIN_SUBARCH_SPEC }, |