xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/i386/darwin64-biarch.h (revision 4c3eb207d36f67d31994830c0a694161fc1ca39b)
1 /* Target definitions for x86_64 running Darwin with a 64b host supporting a
2    32b multilib.
3    Copyright (C) 2006-2020 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 #undef  DARWIN_SUBARCH_SPEC
26 #define DARWIN_SUBARCH_SPEC DARWIN_ARCH_SPEC
27 
28 #undef SUBTARGET_EXTRA_SPECS
29 #define SUBTARGET_EXTRA_SPECS                                   \
30   DARWIN_EXTRA_SPECS                                            \
31   { "darwin_arch", DARWIN_ARCH_SPEC },                          \
32   { "darwin_crt2", "" },                                        \
33   { "darwin_subarch", DARWIN_SUBARCH_SPEC },
34