1  /* Target definitions for PowerPC64 running Darwin (Mac OS X) for a 64b host
       2     supporting a 32b multilib.
       3     Copyright (C) 2006-2023 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 it
       9     under the terms of the GNU General Public License as published
      10     by the Free Software Foundation; either version 3, or (at your
      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
      19     along with GCC; see the file COPYING3.  If not see
      20     <http://www.gnu.org/licenses/>.  */
      21  
      22  #undef  TARGET_DEFAULT
      23  #define TARGET_DEFAULT (MASK_POWERPC64 | MASK_64BIT \
      24  			| OPTION_MASK_MULTIPLE | OPTION_MASK_PPC_GFXOPT)
      25  
      26  #undef DARWIN_ARCH_SPEC
      27  #define DARWIN_ARCH_SPEC "%{m32:ppc;:ppc64}"
      28  
      29  /* Actually, there's really only 970 as an active option.  */
      30  #undef DARWIN_SUBARCH_SPEC
      31  #define DARWIN_SUBARCH_SPEC DARWIN_ARCH_SPEC
      32  
      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 },