1 /* Target definitions for x86_64 running Darwin with a 64b host supporting a
2    32b multilib.
3    Copyright (C) 2006-2022 Free Software Foundation, Inc.
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
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3, or (at your option)
11 any later version.
12 
13 GCC 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 GCC; see the file COPYING3.  If not see
20 <http://www.gnu.org/licenses/>.  */
21 
22 #undef  DARWIN_ARCH_SPEC
23 #define DARWIN_ARCH_SPEC "%{m32:i386;:x86_64}"
24 
25 #define TARGET_64BIT_DEFAULT (OPTION_MASK_ISA_64BIT | OPTION_MASK_ABI_64)
26 #define TARGET_BI_ARCH 1
27 
28 #undef  DARWIN_SUBARCH_SPEC
29 #define DARWIN_SUBARCH_SPEC DARWIN_ARCH_SPEC
30 
31 #undef SUBTARGET_EXTRA_SPECS
32 #define SUBTARGET_EXTRA_SPECS                                   \
33   DARWIN_EXTRA_SPECS                                            \
34   { "darwin_arch", DARWIN_ARCH_SPEC },                          \
35   { "darwin_crt2", "" },                                        \
36   { "darwin_subarch", DARWIN_SUBARCH_SPEC },
37