OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [config/] [rs6000/] [sysv4.h] - Diff between revs 282 and 338

Only display areas with differences | Details | Blame | View Log

Rev 282 Rev 338
/* Target definitions for GNU compiler for PowerPC running System V.4
/* Target definitions for GNU compiler for PowerPC running System V.4
   Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
   Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
   2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
   2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
   Contributed by Cygnus Support.
   Contributed by Cygnus Support.
 
 
   This file is part of GCC.
   This file is part of GCC.
 
 
   GCC is free software; you can redistribute it and/or modify it
   GCC is free software; you can redistribute it and/or modify it
   under the terms of the GNU General Public License as published
   under the terms of the GNU General Public License as published
   by the Free Software Foundation; either version 3, or (at your
   by the Free Software Foundation; either version 3, or (at your
   option) any later version.
   option) any later version.
 
 
   GCC is distributed in the hope that it will be useful, but WITHOUT
   GCC is distributed in the hope that it will be useful, but WITHOUT
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
   License for more details.
   License for more details.
 
 
   Under Section 7 of GPL version 3, you are granted additional
   Under Section 7 of GPL version 3, you are granted additional
   permissions described in the GCC Runtime Library Exception, version
   permissions described in the GCC Runtime Library Exception, version
   3.1, as published by the Free Software Foundation.
   3.1, as published by the Free Software Foundation.
 
 
   You should have received a copy of the GNU General Public License and
   You should have received a copy of the GNU General Public License and
   a copy of the GCC Runtime Library Exception along with this program;
   a copy of the GCC Runtime Library Exception along with this program;
   see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
   see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
   <http://www.gnu.org/licenses/>.  */
   <http://www.gnu.org/licenses/>.  */
 
 
/* Header files should be C++ aware in general.  */
/* Header files should be C++ aware in general.  */
#undef  NO_IMPLICIT_EXTERN_C
#undef  NO_IMPLICIT_EXTERN_C
#define NO_IMPLICIT_EXTERN_C
#define NO_IMPLICIT_EXTERN_C
 
 
/* Yes!  We are ELF.  */
/* Yes!  We are ELF.  */
#define TARGET_OBJECT_FORMAT OBJECT_ELF
#define TARGET_OBJECT_FORMAT OBJECT_ELF
 
 
/* Default ABI to compile code for.  */
/* Default ABI to compile code for.  */
#define DEFAULT_ABI rs6000_current_abi
#define DEFAULT_ABI rs6000_current_abi
 
 
/* Default ABI to use.  */
/* Default ABI to use.  */
#define RS6000_ABI_NAME "sysv"
#define RS6000_ABI_NAME "sysv"
 
 
/* Override rs6000.h definition.  */
/* Override rs6000.h definition.  */
#undef  ASM_DEFAULT_SPEC
#undef  ASM_DEFAULT_SPEC
#define ASM_DEFAULT_SPEC "-mppc"
#define ASM_DEFAULT_SPEC "-mppc"
 
 
/* Small data support types.  */
/* Small data support types.  */
enum rs6000_sdata_type {
enum rs6000_sdata_type {
  SDATA_NONE,                   /* No small data support.  */
  SDATA_NONE,                   /* No small data support.  */
  SDATA_DATA,                   /* Just put data in .sbss/.sdata, don't use relocs.  */
  SDATA_DATA,                   /* Just put data in .sbss/.sdata, don't use relocs.  */
  SDATA_SYSV,                   /* Use r13 to point to .sdata/.sbss.  */
  SDATA_SYSV,                   /* Use r13 to point to .sdata/.sbss.  */
  SDATA_EABI                    /* Use r13 like above, r2 points to .sdata2/.sbss2.  */
  SDATA_EABI                    /* Use r13 like above, r2 points to .sdata2/.sbss2.  */
};
};
 
 
extern enum rs6000_sdata_type rs6000_sdata;
extern enum rs6000_sdata_type rs6000_sdata;
 
 
#define TARGET_TOC              ((target_flags & MASK_64BIT)            \
#define TARGET_TOC              ((target_flags & MASK_64BIT)            \
                                 || ((target_flags & (MASK_RELOCATABLE  \
                                 || ((target_flags & (MASK_RELOCATABLE  \
                                                      | MASK_MINIMAL_TOC)) \
                                                      | MASK_MINIMAL_TOC)) \
                                     && flag_pic > 1)                   \
                                     && flag_pic > 1)                   \
                                 || DEFAULT_ABI == ABI_AIX)
                                 || DEFAULT_ABI == ABI_AIX)
 
 
#define TARGET_BITFIELD_TYPE    (! TARGET_NO_BITFIELD_TYPE)
#define TARGET_BITFIELD_TYPE    (! TARGET_NO_BITFIELD_TYPE)
#define TARGET_BIG_ENDIAN       (! TARGET_LITTLE_ENDIAN)
#define TARGET_BIG_ENDIAN       (! TARGET_LITTLE_ENDIAN)
#define TARGET_PROTOTYPE        target_prototype
#define TARGET_PROTOTYPE        target_prototype
#define TARGET_NO_PROTOTYPE     (! TARGET_PROTOTYPE)
#define TARGET_NO_PROTOTYPE     (! TARGET_PROTOTYPE)
#define TARGET_NO_TOC           (! TARGET_TOC)
#define TARGET_NO_TOC           (! TARGET_TOC)
#define TARGET_NO_EABI          (! TARGET_EABI)
#define TARGET_NO_EABI          (! TARGET_EABI)
#define TARGET_REGNAMES         rs6000_regnames
#define TARGET_REGNAMES         rs6000_regnames
 
 
#ifdef HAVE_AS_REL16
#ifdef HAVE_AS_REL16
#undef TARGET_SECURE_PLT
#undef TARGET_SECURE_PLT
#define TARGET_SECURE_PLT       secure_plt
#define TARGET_SECURE_PLT       secure_plt
#endif
#endif
 
 
extern const char *rs6000_abi_name;
extern const char *rs6000_abi_name;
extern const char *rs6000_sdata_name;
extern const char *rs6000_sdata_name;
extern const char *rs6000_tls_size_string; /* For -mtls-size= */
extern const char *rs6000_tls_size_string; /* For -mtls-size= */
 
 
#define SDATA_DEFAULT_SIZE 8
#define SDATA_DEFAULT_SIZE 8
 
 
/* Sometimes certain combinations of command options do not make sense
/* Sometimes certain combinations of command options do not make sense
   on a particular target machine.  You can define a macro
   on a particular target machine.  You can define a macro
   `OVERRIDE_OPTIONS' to take account of this.  This macro, if
   `OVERRIDE_OPTIONS' to take account of this.  This macro, if
   defined, is executed once just after all the command options have
   defined, is executed once just after all the command options have
   been parsed.
   been parsed.
 
 
   The macro SUBTARGET_OVERRIDE_OPTIONS is provided for subtargets, to
   The macro SUBTARGET_OVERRIDE_OPTIONS is provided for subtargets, to
   get control.  */
   get control.  */
 
 
#define SUBTARGET_OVERRIDE_OPTIONS                                      \
#define SUBTARGET_OVERRIDE_OPTIONS                                      \
do {                                                                    \
do {                                                                    \
  if (!g_switch_set)                                                    \
  if (!g_switch_set)                                                    \
    g_switch_value = SDATA_DEFAULT_SIZE;                                \
    g_switch_value = SDATA_DEFAULT_SIZE;                                \
                                                                        \
                                                                        \
  if (rs6000_abi_name == NULL)                                          \
  if (rs6000_abi_name == NULL)                                          \
    rs6000_abi_name = RS6000_ABI_NAME;                                  \
    rs6000_abi_name = RS6000_ABI_NAME;                                  \
                                                                        \
                                                                        \
  if (!strcmp (rs6000_abi_name, "sysv"))                                \
  if (!strcmp (rs6000_abi_name, "sysv"))                                \
    rs6000_current_abi = ABI_V4;                                        \
    rs6000_current_abi = ABI_V4;                                        \
  else if (!strcmp (rs6000_abi_name, "sysv-noeabi"))                    \
  else if (!strcmp (rs6000_abi_name, "sysv-noeabi"))                    \
    {                                                                   \
    {                                                                   \
      rs6000_current_abi = ABI_V4;                                      \
      rs6000_current_abi = ABI_V4;                                      \
      target_flags &= ~ MASK_EABI;                                      \
      target_flags &= ~ MASK_EABI;                                      \
    }                                                                   \
    }                                                                   \
  else if (!strcmp (rs6000_abi_name, "sysv-eabi")                       \
  else if (!strcmp (rs6000_abi_name, "sysv-eabi")                       \
           || !strcmp (rs6000_abi_name, "eabi"))                        \
           || !strcmp (rs6000_abi_name, "eabi"))                        \
    {                                                                   \
    {                                                                   \
      rs6000_current_abi = ABI_V4;                                      \
      rs6000_current_abi = ABI_V4;                                      \
      target_flags |= MASK_EABI;                                        \
      target_flags |= MASK_EABI;                                        \
    }                                                                   \
    }                                                                   \
  else if (!strcmp (rs6000_abi_name, "aixdesc"))                        \
  else if (!strcmp (rs6000_abi_name, "aixdesc"))                        \
    rs6000_current_abi = ABI_AIX;                                       \
    rs6000_current_abi = ABI_AIX;                                       \
  else if (!strcmp (rs6000_abi_name, "freebsd"))                        \
  else if (!strcmp (rs6000_abi_name, "freebsd"))                        \
    rs6000_current_abi = ABI_V4;                                        \
    rs6000_current_abi = ABI_V4;                                        \
  else if (!strcmp (rs6000_abi_name, "linux"))                          \
  else if (!strcmp (rs6000_abi_name, "linux"))                          \
    {                                                                   \
    {                                                                   \
      if (TARGET_64BIT)                                                 \
      if (TARGET_64BIT)                                                 \
        rs6000_current_abi = ABI_AIX;                                   \
        rs6000_current_abi = ABI_AIX;                                   \
      else                                                              \
      else                                                              \
        rs6000_current_abi = ABI_V4;                                    \
        rs6000_current_abi = ABI_V4;                                    \
    }                                                                   \
    }                                                                   \
  else if (!strcmp (rs6000_abi_name, "gnu"))                            \
  else if (!strcmp (rs6000_abi_name, "gnu"))                            \
    rs6000_current_abi = ABI_V4;                                        \
    rs6000_current_abi = ABI_V4;                                        \
  else if (!strcmp (rs6000_abi_name, "netbsd"))                         \
  else if (!strcmp (rs6000_abi_name, "netbsd"))                         \
    rs6000_current_abi = ABI_V4;                                        \
    rs6000_current_abi = ABI_V4;                                        \
  else if (!strcmp (rs6000_abi_name, "openbsd"))                        \
  else if (!strcmp (rs6000_abi_name, "openbsd"))                        \
    rs6000_current_abi = ABI_V4;                                        \
    rs6000_current_abi = ABI_V4;                                        \
  else if (!strcmp (rs6000_abi_name, "i960-old"))                       \
  else if (!strcmp (rs6000_abi_name, "i960-old"))                       \
    {                                                                   \
    {                                                                   \
      rs6000_current_abi = ABI_V4;                                      \
      rs6000_current_abi = ABI_V4;                                      \
      target_flags |= (MASK_LITTLE_ENDIAN | MASK_EABI);                 \
      target_flags |= (MASK_LITTLE_ENDIAN | MASK_EABI);                 \
      target_flags &= ~MASK_STRICT_ALIGN;                               \
      target_flags &= ~MASK_STRICT_ALIGN;                               \
      TARGET_NO_BITFIELD_WORD = 1;                                      \
      TARGET_NO_BITFIELD_WORD = 1;                                      \
    }                                                                   \
    }                                                                   \
  else                                                                  \
  else                                                                  \
    {                                                                   \
    {                                                                   \
      rs6000_current_abi = ABI_V4;                                      \
      rs6000_current_abi = ABI_V4;                                      \
      error ("bad value for -mcall-%s", rs6000_abi_name);               \
      error ("bad value for -mcall-%s", rs6000_abi_name);               \
    }                                                                   \
    }                                                                   \
                                                                        \
                                                                        \
  if (rs6000_sdata_name)                                                \
  if (rs6000_sdata_name)                                                \
    {                                                                   \
    {                                                                   \
      if (!strcmp (rs6000_sdata_name, "none"))                          \
      if (!strcmp (rs6000_sdata_name, "none"))                          \
        rs6000_sdata = SDATA_NONE;                                      \
        rs6000_sdata = SDATA_NONE;                                      \
      else if (!strcmp (rs6000_sdata_name, "data"))                     \
      else if (!strcmp (rs6000_sdata_name, "data"))                     \
        rs6000_sdata = SDATA_DATA;                                      \
        rs6000_sdata = SDATA_DATA;                                      \
      else if (!strcmp (rs6000_sdata_name, "default"))                  \
      else if (!strcmp (rs6000_sdata_name, "default"))                  \
        rs6000_sdata = (TARGET_EABI) ? SDATA_EABI : SDATA_SYSV;         \
        rs6000_sdata = (TARGET_EABI) ? SDATA_EABI : SDATA_SYSV;         \
      else if (!strcmp (rs6000_sdata_name, "sysv"))                     \
      else if (!strcmp (rs6000_sdata_name, "sysv"))                     \
        rs6000_sdata = SDATA_SYSV;                                      \
        rs6000_sdata = SDATA_SYSV;                                      \
      else if (!strcmp (rs6000_sdata_name, "eabi"))                     \
      else if (!strcmp (rs6000_sdata_name, "eabi"))                     \
        rs6000_sdata = SDATA_EABI;                                      \
        rs6000_sdata = SDATA_EABI;                                      \
      else                                                              \
      else                                                              \
        error ("bad value for -msdata=%s", rs6000_sdata_name);          \
        error ("bad value for -msdata=%s", rs6000_sdata_name);          \
    }                                                                   \
    }                                                                   \
  else if (DEFAULT_ABI == ABI_V4)                                       \
  else if (DEFAULT_ABI == ABI_V4)                                       \
    {                                                                   \
    {                                                                   \
      rs6000_sdata = SDATA_DATA;                                        \
      rs6000_sdata = SDATA_DATA;                                        \
      rs6000_sdata_name = "data";                                       \
      rs6000_sdata_name = "data";                                       \
    }                                                                   \
    }                                                                   \
  else                                                                  \
  else                                                                  \
    {                                                                   \
    {                                                                   \
      rs6000_sdata = SDATA_NONE;                                        \
      rs6000_sdata = SDATA_NONE;                                        \
      rs6000_sdata_name = "none";                                       \
      rs6000_sdata_name = "none";                                       \
    }                                                                   \
    }                                                                   \
                                                                        \
                                                                        \
  if (TARGET_RELOCATABLE &&                                             \
  if (TARGET_RELOCATABLE &&                                             \
      (rs6000_sdata == SDATA_EABI || rs6000_sdata == SDATA_SYSV))       \
      (rs6000_sdata == SDATA_EABI || rs6000_sdata == SDATA_SYSV))       \
    {                                                                   \
    {                                                                   \
      rs6000_sdata = SDATA_DATA;                                        \
      rs6000_sdata = SDATA_DATA;                                        \
      error ("-mrelocatable and -msdata=%s are incompatible",           \
      error ("-mrelocatable and -msdata=%s are incompatible",           \
             rs6000_sdata_name);                                        \
             rs6000_sdata_name);                                        \
    }                                                                   \
    }                                                                   \
                                                                        \
                                                                        \
  else if (flag_pic && DEFAULT_ABI != ABI_AIX                           \
  else if (flag_pic && DEFAULT_ABI != ABI_AIX                           \
           && (rs6000_sdata == SDATA_EABI                               \
           && (rs6000_sdata == SDATA_EABI                               \
               || rs6000_sdata == SDATA_SYSV))                          \
               || rs6000_sdata == SDATA_SYSV))                          \
    {                                                                   \
    {                                                                   \
      rs6000_sdata = SDATA_DATA;                                        \
      rs6000_sdata = SDATA_DATA;                                        \
      error ("-f%s and -msdata=%s are incompatible",                    \
      error ("-f%s and -msdata=%s are incompatible",                    \
             (flag_pic > 1) ? "PIC" : "pic",                            \
             (flag_pic > 1) ? "PIC" : "pic",                            \
             rs6000_sdata_name);                                        \
             rs6000_sdata_name);                                        \
    }                                                                   \
    }                                                                   \
                                                                        \
                                                                        \
  if ((rs6000_sdata != SDATA_NONE && DEFAULT_ABI != ABI_V4)             \
  if ((rs6000_sdata != SDATA_NONE && DEFAULT_ABI != ABI_V4)             \
      || (rs6000_sdata == SDATA_EABI && !TARGET_EABI))                  \
      || (rs6000_sdata == SDATA_EABI && !TARGET_EABI))                  \
    {                                                                   \
    {                                                                   \
      rs6000_sdata = SDATA_NONE;                                        \
      rs6000_sdata = SDATA_NONE;                                        \
      error ("-msdata=%s and -mcall-%s are incompatible",               \
      error ("-msdata=%s and -mcall-%s are incompatible",               \
             rs6000_sdata_name, rs6000_abi_name);                       \
             rs6000_sdata_name, rs6000_abi_name);                       \
    }                                                                   \
    }                                                                   \
                                                                        \
                                                                        \
  targetm.have_srodata_section = rs6000_sdata == SDATA_EABI;            \
  targetm.have_srodata_section = rs6000_sdata == SDATA_EABI;            \
                                                                        \
                                                                        \
  if (TARGET_RELOCATABLE && !TARGET_MINIMAL_TOC)                        \
  if (TARGET_RELOCATABLE && !TARGET_MINIMAL_TOC)                        \
    {                                                                   \
    {                                                                   \
      target_flags |= MASK_MINIMAL_TOC;                                 \
      target_flags |= MASK_MINIMAL_TOC;                                 \
      error ("-mrelocatable and -mno-minimal-toc are incompatible");    \
      error ("-mrelocatable and -mno-minimal-toc are incompatible");    \
    }                                                                   \
    }                                                                   \
                                                                        \
                                                                        \
  if (TARGET_RELOCATABLE && rs6000_current_abi == ABI_AIX)              \
  if (TARGET_RELOCATABLE && rs6000_current_abi == ABI_AIX)              \
    {                                                                   \
    {                                                                   \
      target_flags &= ~MASK_RELOCATABLE;                                \
      target_flags &= ~MASK_RELOCATABLE;                                \
      error ("-mrelocatable and -mcall-%s are incompatible",            \
      error ("-mrelocatable and -mcall-%s are incompatible",            \
             rs6000_abi_name);                                          \
             rs6000_abi_name);                                          \
    }                                                                   \
    }                                                                   \
                                                                        \
                                                                        \
  if (!TARGET_64BIT && flag_pic > 1 && rs6000_current_abi == ABI_AIX)   \
  if (!TARGET_64BIT && flag_pic > 1 && rs6000_current_abi == ABI_AIX)   \
    {                                                                   \
    {                                                                   \
      flag_pic = 0;                                                      \
      flag_pic = 0;                                                      \
      error ("-fPIC and -mcall-%s are incompatible",                    \
      error ("-fPIC and -mcall-%s are incompatible",                    \
             rs6000_abi_name);                                          \
             rs6000_abi_name);                                          \
    }                                                                   \
    }                                                                   \
                                                                        \
                                                                        \
  if (rs6000_current_abi == ABI_AIX && TARGET_LITTLE_ENDIAN)            \
  if (rs6000_current_abi == ABI_AIX && TARGET_LITTLE_ENDIAN)            \
    {                                                                   \
    {                                                                   \
      target_flags &= ~MASK_LITTLE_ENDIAN;                              \
      target_flags &= ~MASK_LITTLE_ENDIAN;                              \
      error ("-mcall-aixdesc must be big endian");                      \
      error ("-mcall-aixdesc must be big endian");                      \
    }                                                                   \
    }                                                                   \
                                                                        \
                                                                        \
  if (TARGET_SECURE_PLT != secure_plt)                                  \
  if (TARGET_SECURE_PLT != secure_plt)                                  \
    {                                                                   \
    {                                                                   \
      error ("-msecure-plt not supported by your assembler");           \
      error ("-msecure-plt not supported by your assembler");           \
    }                                                                   \
    }                                                                   \
                                                                        \
                                                                        \
  /* Treat -fPIC the same as -mrelocatable.  */                         \
  /* Treat -fPIC the same as -mrelocatable.  */                         \
  if (flag_pic > 1 && DEFAULT_ABI != ABI_AIX)                           \
  if (flag_pic > 1 && DEFAULT_ABI != ABI_AIX)                           \
    {                                                                   \
    {                                                                   \
      target_flags |= MASK_RELOCATABLE | MASK_MINIMAL_TOC;              \
      target_flags |= MASK_RELOCATABLE | MASK_MINIMAL_TOC;              \
      TARGET_NO_FP_IN_TOC = 1;                                          \
      TARGET_NO_FP_IN_TOC = 1;                                          \
    }                                                                   \
    }                                                                   \
                                                                        \
                                                                        \
  else if (TARGET_RELOCATABLE)                                          \
  else if (TARGET_RELOCATABLE)                                          \
    flag_pic = 2;                                                       \
    flag_pic = 2;                                                       \
} while (0)
} while (0)
 
 
#ifndef RS6000_BI_ARCH
#ifndef RS6000_BI_ARCH
# define SUBSUBTARGET_OVERRIDE_OPTIONS                                  \
# define SUBSUBTARGET_OVERRIDE_OPTIONS                                  \
do {                                                                    \
do {                                                                    \
  if ((TARGET_DEFAULT ^ target_flags) & MASK_64BIT)                     \
  if ((TARGET_DEFAULT ^ target_flags) & MASK_64BIT)                     \
    error ("-m%s not supported in this configuration",                  \
    error ("-m%s not supported in this configuration",                  \
           (target_flags & MASK_64BIT) ? "64" : "32");                  \
           (target_flags & MASK_64BIT) ? "64" : "32");                  \
} while (0)
} while (0)
#endif
#endif
 
 
/* Override rs6000.h definition.  */
/* Override rs6000.h definition.  */
#undef  TARGET_DEFAULT
#undef  TARGET_DEFAULT
#define TARGET_DEFAULT (MASK_POWERPC | MASK_NEW_MNEMONICS)
#define TARGET_DEFAULT (MASK_POWERPC | MASK_NEW_MNEMONICS)
 
 
/* Override rs6000.h definition.  */
/* Override rs6000.h definition.  */
#undef  PROCESSOR_DEFAULT
#undef  PROCESSOR_DEFAULT
#define PROCESSOR_DEFAULT PROCESSOR_PPC750
#define PROCESSOR_DEFAULT PROCESSOR_PPC750
 
 
/* SVR4 only defined for PowerPC, so short-circuit POWER patterns.  */
/* SVR4 only defined for PowerPC, so short-circuit POWER patterns.  */
#undef  TARGET_POWER
#undef  TARGET_POWER
#define TARGET_POWER 0
#define TARGET_POWER 0
 
 
#define FIXED_R2 1
#define FIXED_R2 1
/* System V.4 uses register 13 as a pointer to the small data area,
/* System V.4 uses register 13 as a pointer to the small data area,
   so it is not available to the normal user.  */
   so it is not available to the normal user.  */
#define FIXED_R13 1
#define FIXED_R13 1
 
 
/* Override default big endianism definitions in rs6000.h.  */
/* Override default big endianism definitions in rs6000.h.  */
#undef  BYTES_BIG_ENDIAN
#undef  BYTES_BIG_ENDIAN
#undef  WORDS_BIG_ENDIAN
#undef  WORDS_BIG_ENDIAN
#define BYTES_BIG_ENDIAN (TARGET_BIG_ENDIAN)
#define BYTES_BIG_ENDIAN (TARGET_BIG_ENDIAN)
#define WORDS_BIG_ENDIAN (TARGET_BIG_ENDIAN)
#define WORDS_BIG_ENDIAN (TARGET_BIG_ENDIAN)
 
 
/* Define this to set the endianness to use in libgcc2.c, which can
/* Define this to set the endianness to use in libgcc2.c, which can
   not depend on target_flags.  */
   not depend on target_flags.  */
#if !defined(__LITTLE_ENDIAN__) && !defined(__sun__)
#if !defined(__LITTLE_ENDIAN__) && !defined(__sun__)
#define LIBGCC2_WORDS_BIG_ENDIAN 1
#define LIBGCC2_WORDS_BIG_ENDIAN 1
#else
#else
#define LIBGCC2_WORDS_BIG_ENDIAN 0
#define LIBGCC2_WORDS_BIG_ENDIAN 0
#endif
#endif
 
 
/* Define cutoff for using external functions to save floating point.
/* Define cutoff for using external functions to save floating point.
   When optimizing for size, use external functions when profitable.  */
   When optimizing for size, use external functions when profitable.  */
#define FP_SAVE_INLINE(FIRST_REG) (optimize_size                        \
#define FP_SAVE_INLINE(FIRST_REG) (optimize_size                        \
                                   ? ((FIRST_REG) == 62                 \
                                   ? ((FIRST_REG) == 62                 \
                                      || (FIRST_REG) == 63)             \
                                      || (FIRST_REG) == 63)             \
                                   : (FIRST_REG) < 64)
                                   : (FIRST_REG) < 64)
/* And similarly for general purpose registers.  */
/* And similarly for general purpose registers.  */
#define GP_SAVE_INLINE(FIRST_REG) ((FIRST_REG) < 32     \
#define GP_SAVE_INLINE(FIRST_REG) ((FIRST_REG) < 32     \
                                   && !optimize_size)
                                   && !optimize_size)
 
 
/* Put jump tables in read-only memory, rather than in .text.  */
/* Put jump tables in read-only memory, rather than in .text.  */
#define JUMP_TABLES_IN_TEXT_SECTION 0
#define JUMP_TABLES_IN_TEXT_SECTION 0
 
 
/* Prefix and suffix to use to saving floating point.  */
/* Prefix and suffix to use to saving floating point.  */
#define SAVE_FP_PREFIX "_savefpr_"
#define SAVE_FP_PREFIX "_savefpr_"
#define SAVE_FP_SUFFIX ""
#define SAVE_FP_SUFFIX ""
 
 
/* Prefix and suffix to use to restoring floating point.  */
/* Prefix and suffix to use to restoring floating point.  */
#define RESTORE_FP_PREFIX "_restfpr_"
#define RESTORE_FP_PREFIX "_restfpr_"
#define RESTORE_FP_SUFFIX ""
#define RESTORE_FP_SUFFIX ""
 
 
/* Type used for ptrdiff_t, as a string used in a declaration.  */
/* Type used for ptrdiff_t, as a string used in a declaration.  */
#define PTRDIFF_TYPE "int"
#define PTRDIFF_TYPE "int"
 
 
/* Type used for wchar_t, as a string used in a declaration.  */
/* Type used for wchar_t, as a string used in a declaration.  */
/* Override svr4.h definition.  */
/* Override svr4.h definition.  */
#undef  WCHAR_TYPE
#undef  WCHAR_TYPE
#define WCHAR_TYPE "long int"
#define WCHAR_TYPE "long int"
 
 
/* Width of wchar_t in bits.  */
/* Width of wchar_t in bits.  */
/* Override svr4.h definition.  */
/* Override svr4.h definition.  */
#undef  WCHAR_TYPE_SIZE
#undef  WCHAR_TYPE_SIZE
#define WCHAR_TYPE_SIZE 32
#define WCHAR_TYPE_SIZE 32
 
 
/* Make int foo : 8 not cause structures to be aligned to an int boundary.  */
/* Make int foo : 8 not cause structures to be aligned to an int boundary.  */
/* Override elfos.h definition.  */
/* Override elfos.h definition.  */
#undef  PCC_BITFIELD_TYPE_MATTERS
#undef  PCC_BITFIELD_TYPE_MATTERS
#define PCC_BITFIELD_TYPE_MATTERS (TARGET_BITFIELD_TYPE)
#define PCC_BITFIELD_TYPE_MATTERS (TARGET_BITFIELD_TYPE)
 
 
#undef  BITFIELD_NBYTES_LIMITED
#undef  BITFIELD_NBYTES_LIMITED
#define BITFIELD_NBYTES_LIMITED (TARGET_NO_BITFIELD_WORD)
#define BITFIELD_NBYTES_LIMITED (TARGET_NO_BITFIELD_WORD)
 
 
/* Define this macro to be the value 1 if instructions will fail to
/* Define this macro to be the value 1 if instructions will fail to
   work if given data not on the nominal alignment.  If instructions
   work if given data not on the nominal alignment.  If instructions
   will merely go slower in that case, define this macro as 0.  */
   will merely go slower in that case, define this macro as 0.  */
#undef  STRICT_ALIGNMENT
#undef  STRICT_ALIGNMENT
#define STRICT_ALIGNMENT (TARGET_STRICT_ALIGN)
#define STRICT_ALIGNMENT (TARGET_STRICT_ALIGN)
 
 
/* Define this macro if you wish to preserve a certain alignment for
/* Define this macro if you wish to preserve a certain alignment for
   the stack pointer, greater than what the hardware enforces.  The
   the stack pointer, greater than what the hardware enforces.  The
   definition is a C expression for the desired alignment (measured
   definition is a C expression for the desired alignment (measured
   in bits).  This macro must evaluate to a value equal to or larger
   in bits).  This macro must evaluate to a value equal to or larger
   than STACK_BOUNDARY.
   than STACK_BOUNDARY.
   For the SYSV ABI and variants the alignment of the stack pointer
   For the SYSV ABI and variants the alignment of the stack pointer
   is usually controlled manually in rs6000.c. However, to maintain
   is usually controlled manually in rs6000.c. However, to maintain
   alignment across alloca () in all circumstances,
   alignment across alloca () in all circumstances,
   PREFERRED_STACK_BOUNDARY needs to be set as well.
   PREFERRED_STACK_BOUNDARY needs to be set as well.
   This has the additional advantage of allowing a bigger maximum
   This has the additional advantage of allowing a bigger maximum
   alignment of user objects on the stack.  */
   alignment of user objects on the stack.  */
 
 
#undef PREFERRED_STACK_BOUNDARY
#undef PREFERRED_STACK_BOUNDARY
#define PREFERRED_STACK_BOUNDARY 128
#define PREFERRED_STACK_BOUNDARY 128
 
 
/* Real stack boundary as mandated by the appropriate ABI.  */
/* Real stack boundary as mandated by the appropriate ABI.  */
#define ABI_STACK_BOUNDARY \
#define ABI_STACK_BOUNDARY \
  ((TARGET_EABI && !TARGET_ALTIVEC && !TARGET_ALTIVEC_ABI) ? 64 : 128)
  ((TARGET_EABI && !TARGET_ALTIVEC && !TARGET_ALTIVEC_ABI) ? 64 : 128)
 
 
/* An expression for the alignment of a structure field FIELD if the
/* An expression for the alignment of a structure field FIELD if the
   alignment computed in the usual way is COMPUTED.  */
   alignment computed in the usual way is COMPUTED.  */
#define ADJUST_FIELD_ALIGN(FIELD, COMPUTED)                                   \
#define ADJUST_FIELD_ALIGN(FIELD, COMPUTED)                                   \
        ((TARGET_ALTIVEC && TREE_CODE (TREE_TYPE (FIELD)) == VECTOR_TYPE)     \
        ((TARGET_ALTIVEC && TREE_CODE (TREE_TYPE (FIELD)) == VECTOR_TYPE)     \
         ? 128 : COMPUTED)
         ? 128 : COMPUTED)
 
 
#undef  BIGGEST_FIELD_ALIGNMENT
#undef  BIGGEST_FIELD_ALIGNMENT
 
 
/* Use ELF style section commands.  */
/* Use ELF style section commands.  */
 
 
#define TEXT_SECTION_ASM_OP     "\t.section\t\".text\""
#define TEXT_SECTION_ASM_OP     "\t.section\t\".text\""
 
 
#define DATA_SECTION_ASM_OP     "\t.section\t\".data\""
#define DATA_SECTION_ASM_OP     "\t.section\t\".data\""
 
 
#define BSS_SECTION_ASM_OP      "\t.section\t\".bss\""
#define BSS_SECTION_ASM_OP      "\t.section\t\".bss\""
 
 
/* Override elfos.h definition.  */
/* Override elfos.h definition.  */
#undef  INIT_SECTION_ASM_OP
#undef  INIT_SECTION_ASM_OP
#define INIT_SECTION_ASM_OP "\t.section\t\".init\",\"ax\""
#define INIT_SECTION_ASM_OP "\t.section\t\".init\",\"ax\""
 
 
/* Override elfos.h definition.  */
/* Override elfos.h definition.  */
#undef  FINI_SECTION_ASM_OP
#undef  FINI_SECTION_ASM_OP
#define FINI_SECTION_ASM_OP "\t.section\t\".fini\",\"ax\""
#define FINI_SECTION_ASM_OP "\t.section\t\".fini\",\"ax\""
 
 
#define TOC_SECTION_ASM_OP "\t.section\t\".got\",\"aw\""
#define TOC_SECTION_ASM_OP "\t.section\t\".got\",\"aw\""
 
 
/* Put PC relative got entries in .got2.  */
/* Put PC relative got entries in .got2.  */
#define MINIMAL_TOC_SECTION_ASM_OP \
#define MINIMAL_TOC_SECTION_ASM_OP \
  (TARGET_RELOCATABLE || (flag_pic && DEFAULT_ABI != ABI_AIX)           \
  (TARGET_RELOCATABLE || (flag_pic && DEFAULT_ABI != ABI_AIX)           \
   ? "\t.section\t\".got2\",\"aw\"" : "\t.section\t\".got1\",\"aw\"")
   ? "\t.section\t\".got2\",\"aw\"" : "\t.section\t\".got1\",\"aw\"")
 
 
#define SDATA_SECTION_ASM_OP "\t.section\t\".sdata\",\"aw\""
#define SDATA_SECTION_ASM_OP "\t.section\t\".sdata\",\"aw\""
#define SDATA2_SECTION_ASM_OP "\t.section\t\".sdata2\",\"a\""
#define SDATA2_SECTION_ASM_OP "\t.section\t\".sdata2\",\"a\""
#define SBSS_SECTION_ASM_OP "\t.section\t\".sbss\",\"aw\",@nobits"
#define SBSS_SECTION_ASM_OP "\t.section\t\".sbss\",\"aw\",@nobits"
 
 
/* Override default elf definitions.  */
/* Override default elf definitions.  */
#define TARGET_ASM_INIT_SECTIONS rs6000_elf_asm_init_sections
#define TARGET_ASM_INIT_SECTIONS rs6000_elf_asm_init_sections
#undef  TARGET_ASM_RELOC_RW_MASK
#undef  TARGET_ASM_RELOC_RW_MASK
#define TARGET_ASM_RELOC_RW_MASK rs6000_elf_reloc_rw_mask
#define TARGET_ASM_RELOC_RW_MASK rs6000_elf_reloc_rw_mask
#undef  TARGET_ASM_SELECT_RTX_SECTION
#undef  TARGET_ASM_SELECT_RTX_SECTION
#define TARGET_ASM_SELECT_RTX_SECTION rs6000_elf_select_rtx_section
#define TARGET_ASM_SELECT_RTX_SECTION rs6000_elf_select_rtx_section
 
 
/* Return nonzero if this entry is to be written into the constant pool
/* Return nonzero if this entry is to be written into the constant pool
   in a special way.  We do so if this is a SYMBOL_REF, LABEL_REF or a CONST
   in a special way.  We do so if this is a SYMBOL_REF, LABEL_REF or a CONST
   containing one of them.  If -mfp-in-toc (the default), we also do
   containing one of them.  If -mfp-in-toc (the default), we also do
   this for floating-point constants.  We actually can only do this
   this for floating-point constants.  We actually can only do this
   if the FP formats of the target and host machines are the same, but
   if the FP formats of the target and host machines are the same, but
   we can't check that since not every file that uses these target macros
   we can't check that since not every file that uses these target macros
   includes real.h.
   includes real.h.
 
 
   Unlike AIX, we don't key off of -mminimal-toc, but instead do not
   Unlike AIX, we don't key off of -mminimal-toc, but instead do not
   allow floating point constants in the TOC if -mrelocatable.  */
   allow floating point constants in the TOC if -mrelocatable.  */
 
 
#undef  ASM_OUTPUT_SPECIAL_POOL_ENTRY_P
#undef  ASM_OUTPUT_SPECIAL_POOL_ENTRY_P
#define ASM_OUTPUT_SPECIAL_POOL_ENTRY_P(X, MODE)                        \
#define ASM_OUTPUT_SPECIAL_POOL_ENTRY_P(X, MODE)                        \
  (TARGET_TOC                                                           \
  (TARGET_TOC                                                           \
   && (GET_CODE (X) == SYMBOL_REF                                       \
   && (GET_CODE (X) == SYMBOL_REF                                       \
       || (GET_CODE (X) == CONST && GET_CODE (XEXP (X, 0)) == PLUS       \
       || (GET_CODE (X) == CONST && GET_CODE (XEXP (X, 0)) == PLUS       \
           && GET_CODE (XEXP (XEXP (X, 0), 0)) == SYMBOL_REF)             \
           && GET_CODE (XEXP (XEXP (X, 0), 0)) == SYMBOL_REF)             \
       || GET_CODE (X) == LABEL_REF                                     \
       || GET_CODE (X) == LABEL_REF                                     \
       || (GET_CODE (X) == CONST_INT                                    \
       || (GET_CODE (X) == CONST_INT                                    \
           && GET_MODE_BITSIZE (MODE) <= GET_MODE_BITSIZE (Pmode))      \
           && GET_MODE_BITSIZE (MODE) <= GET_MODE_BITSIZE (Pmode))      \
       || (!TARGET_NO_FP_IN_TOC                                         \
       || (!TARGET_NO_FP_IN_TOC                                         \
           && !TARGET_RELOCATABLE                                       \
           && !TARGET_RELOCATABLE                                       \
           && GET_CODE (X) == CONST_DOUBLE                              \
           && GET_CODE (X) == CONST_DOUBLE                              \
           && SCALAR_FLOAT_MODE_P (GET_MODE (X))                        \
           && SCALAR_FLOAT_MODE_P (GET_MODE (X))                        \
           && BITS_PER_WORD == HOST_BITS_PER_INT)))
           && BITS_PER_WORD == HOST_BITS_PER_INT)))
 
 
/* These macros generate the special .type and .size directives which
/* These macros generate the special .type and .size directives which
   are used to set the corresponding fields of the linker symbol table
   are used to set the corresponding fields of the linker symbol table
   entries in an ELF object file under SVR4.  These macros also output
   entries in an ELF object file under SVR4.  These macros also output
   the starting labels for the relevant functions/objects.  */
   the starting labels for the relevant functions/objects.  */
 
 
/* Write the extra assembler code needed to declare a function properly.
/* Write the extra assembler code needed to declare a function properly.
   Some svr4 assemblers need to also have something extra said about the
   Some svr4 assemblers need to also have something extra said about the
   function's return value.  We allow for that here.  */
   function's return value.  We allow for that here.  */
 
 
extern int rs6000_pic_labelno;
extern int rs6000_pic_labelno;
 
 
/* Override elfos.h definition.  */
/* Override elfos.h definition.  */
#undef  ASM_DECLARE_FUNCTION_NAME
#undef  ASM_DECLARE_FUNCTION_NAME
#define ASM_DECLARE_FUNCTION_NAME(FILE, NAME, DECL)                     \
#define ASM_DECLARE_FUNCTION_NAME(FILE, NAME, DECL)                     \
  rs6000_elf_declare_function_name ((FILE), (NAME), (DECL))
  rs6000_elf_declare_function_name ((FILE), (NAME), (DECL))
 
 
/* The USER_LABEL_PREFIX stuff is affected by the -fleading-underscore
/* The USER_LABEL_PREFIX stuff is affected by the -fleading-underscore
   flag.  The LOCAL_LABEL_PREFIX variable is used by dbxelf.h.  */
   flag.  The LOCAL_LABEL_PREFIX variable is used by dbxelf.h.  */
 
 
#define LOCAL_LABEL_PREFIX "."
#define LOCAL_LABEL_PREFIX "."
#define USER_LABEL_PREFIX ""
#define USER_LABEL_PREFIX ""
 
 
/* svr4.h overrides (*targetm.asm_out.internal_label).  */
/* svr4.h overrides (*targetm.asm_out.internal_label).  */
 
 
#define ASM_OUTPUT_INTERNAL_LABEL_PREFIX(FILE,PREFIX)   \
#define ASM_OUTPUT_INTERNAL_LABEL_PREFIX(FILE,PREFIX)   \
  asm_fprintf (FILE, "%L%s", PREFIX)
  asm_fprintf (FILE, "%L%s", PREFIX)
 
 
/* Globalizing directive for a label.  */
/* Globalizing directive for a label.  */
#define GLOBAL_ASM_OP "\t.globl "
#define GLOBAL_ASM_OP "\t.globl "
 
 
/* This says how to output assembler code to declare an
/* This says how to output assembler code to declare an
   uninitialized internal linkage data object.  Under SVR4,
   uninitialized internal linkage data object.  Under SVR4,
   the linker seems to want the alignment of data objects
   the linker seems to want the alignment of data objects
   to depend on their types.  We do exactly that here.  */
   to depend on their types.  We do exactly that here.  */
 
 
#define LOCAL_ASM_OP    "\t.local\t"
#define LOCAL_ASM_OP    "\t.local\t"
 
 
#define LCOMM_ASM_OP    "\t.lcomm\t"
#define LCOMM_ASM_OP    "\t.lcomm\t"
 
 
/* Describe how to emit uninitialized local items.  */
/* Describe how to emit uninitialized local items.  */
#define ASM_OUTPUT_ALIGNED_DECL_LOCAL(FILE, DECL, NAME, SIZE, ALIGN)    \
#define ASM_OUTPUT_ALIGNED_DECL_LOCAL(FILE, DECL, NAME, SIZE, ALIGN)    \
do {                                                                    \
do {                                                                    \
  if ((DECL) && rs6000_elf_in_small_data_p (DECL))                      \
  if ((DECL) && rs6000_elf_in_small_data_p (DECL))                      \
    {                                                                   \
    {                                                                   \
      switch_to_section (sbss_section);                                 \
      switch_to_section (sbss_section);                                 \
      ASM_OUTPUT_ALIGN (FILE, exact_log2 (ALIGN / BITS_PER_UNIT));      \
      ASM_OUTPUT_ALIGN (FILE, exact_log2 (ALIGN / BITS_PER_UNIT));      \
      ASM_OUTPUT_LABEL (FILE, NAME);                                    \
      ASM_OUTPUT_LABEL (FILE, NAME);                                    \
      ASM_OUTPUT_SKIP (FILE, SIZE);                                     \
      ASM_OUTPUT_SKIP (FILE, SIZE);                                     \
      if (!flag_inhibit_size_directive && (SIZE) > 0)                    \
      if (!flag_inhibit_size_directive && (SIZE) > 0)                    \
        ASM_OUTPUT_SIZE_DIRECTIVE (FILE, NAME, SIZE);                   \
        ASM_OUTPUT_SIZE_DIRECTIVE (FILE, NAME, SIZE);                   \
    }                                                                   \
    }                                                                   \
  else                                                                  \
  else                                                                  \
    {                                                                   \
    {                                                                   \
      fprintf (FILE, "%s", LCOMM_ASM_OP);                               \
      fprintf (FILE, "%s", LCOMM_ASM_OP);                               \
      assemble_name ((FILE), (NAME));                                   \
      assemble_name ((FILE), (NAME));                                   \
      fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",          \
      fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",          \
               (SIZE), (ALIGN) / BITS_PER_UNIT);                        \
               (SIZE), (ALIGN) / BITS_PER_UNIT);                        \
    }                                                                   \
    }                                                                   \
  ASM_OUTPUT_TYPE_DIRECTIVE (FILE, NAME, "object");                     \
  ASM_OUTPUT_TYPE_DIRECTIVE (FILE, NAME, "object");                     \
} while (0)
} while (0)
 
 
/* Describe how to emit uninitialized external linkage items.  */
/* Describe how to emit uninitialized external linkage items.  */
#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN)           \
#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN)           \
do {                                                                    \
do {                                                                    \
  ASM_OUTPUT_ALIGNED_DECL_LOCAL (FILE, DECL, NAME, SIZE, ALIGN);        \
  ASM_OUTPUT_ALIGNED_DECL_LOCAL (FILE, DECL, NAME, SIZE, ALIGN);        \
} while (0)
} while (0)
 
 
#ifdef HAVE_GAS_MAX_SKIP_P2ALIGN
#ifdef HAVE_GAS_MAX_SKIP_P2ALIGN
/* To support -falign-* switches we need to use .p2align so
/* To support -falign-* switches we need to use .p2align so
   that alignment directives in code sections will be padded
   that alignment directives in code sections will be padded
   with no-op instructions, rather than zeroes.  */
   with no-op instructions, rather than zeroes.  */
#define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE,LOG,MAX_SKIP)                    \
#define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE,LOG,MAX_SKIP)                    \
  if ((LOG) != 0)                                                        \
  if ((LOG) != 0)                                                        \
    {                                                                   \
    {                                                                   \
      if ((MAX_SKIP) == 0)                                               \
      if ((MAX_SKIP) == 0)                                               \
        fprintf ((FILE), "\t.p2align %d\n", (LOG));                     \
        fprintf ((FILE), "\t.p2align %d\n", (LOG));                     \
      else                                                              \
      else                                                              \
        fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP));     \
        fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP));     \
    }
    }
#endif
#endif
 
 
/* This is how to output code to push a register on the stack.
/* This is how to output code to push a register on the stack.
   It need not be very fast code.
   It need not be very fast code.
 
 
   On the rs6000, we must keep the backchain up to date.  In order
   On the rs6000, we must keep the backchain up to date.  In order
   to simplify things, always allocate 16 bytes for a push (System V
   to simplify things, always allocate 16 bytes for a push (System V
   wants to keep stack aligned to a 16 byte boundary).  */
   wants to keep stack aligned to a 16 byte boundary).  */
 
 
#define ASM_OUTPUT_REG_PUSH(FILE, REGNO)                                \
#define ASM_OUTPUT_REG_PUSH(FILE, REGNO)                                \
do {                                                                    \
do {                                                                    \
  if (DEFAULT_ABI == ABI_V4)                                            \
  if (DEFAULT_ABI == ABI_V4)                                            \
    asm_fprintf (FILE,                                                  \
    asm_fprintf (FILE,                                                  \
                 "\t{stu|stwu} %s,-16(%s)\n\t{st|stw} %s,12(%s)\n",     \
                 "\t{stu|stwu} %s,-16(%s)\n\t{st|stw} %s,12(%s)\n",     \
                 reg_names[1], reg_names[1], reg_names[REGNO],          \
                 reg_names[1], reg_names[1], reg_names[REGNO],          \
                 reg_names[1]);                                         \
                 reg_names[1]);                                         \
} while (0)
} while (0)
 
 
/* This is how to output an insn to pop a register from the stack.
/* This is how to output an insn to pop a register from the stack.
   It need not be very fast code.  */
   It need not be very fast code.  */
 
 
#define ASM_OUTPUT_REG_POP(FILE, REGNO)                                 \
#define ASM_OUTPUT_REG_POP(FILE, REGNO)                                 \
do {                                                                    \
do {                                                                    \
  if (DEFAULT_ABI == ABI_V4)                                            \
  if (DEFAULT_ABI == ABI_V4)                                            \
    asm_fprintf (FILE,                                                  \
    asm_fprintf (FILE,                                                  \
                 "\t{l|lwz} %s,12(%s)\n\t{ai|addic} %s,%s,16\n",        \
                 "\t{l|lwz} %s,12(%s)\n\t{ai|addic} %s,%s,16\n",        \
                 reg_names[REGNO], reg_names[1], reg_names[1],          \
                 reg_names[REGNO], reg_names[1], reg_names[1],          \
                 reg_names[1]);                                         \
                 reg_names[1]);                                         \
} while (0)
} while (0)
 
 
/* Switch  Recognition by gcc.c.  Add -G xx support.  */
/* Switch  Recognition by gcc.c.  Add -G xx support.  */
 
 
/* Override svr4.h definition.  */
/* Override svr4.h definition.  */
#undef  SWITCH_TAKES_ARG
#undef  SWITCH_TAKES_ARG
#define SWITCH_TAKES_ARG(CHAR)                                          \
#define SWITCH_TAKES_ARG(CHAR)                                          \
  ((CHAR) == 'D' || (CHAR) == 'U' || (CHAR) == 'o'                      \
  ((CHAR) == 'D' || (CHAR) == 'U' || (CHAR) == 'o'                      \
   || (CHAR) == 'e' || (CHAR) == 'T' || (CHAR) == 'u'                   \
   || (CHAR) == 'e' || (CHAR) == 'T' || (CHAR) == 'u'                   \
   || (CHAR) == 'I' || (CHAR) == 'm' || (CHAR) == 'x'                   \
   || (CHAR) == 'I' || (CHAR) == 'm' || (CHAR) == 'x'                   \
   || (CHAR) == 'L' || (CHAR) == 'A' || (CHAR) == 'V'                   \
   || (CHAR) == 'L' || (CHAR) == 'A' || (CHAR) == 'V'                   \
   || (CHAR) == 'B' || (CHAR) == 'b' || (CHAR) == 'G')
   || (CHAR) == 'B' || (CHAR) == 'b' || (CHAR) == 'G')
 
 
extern int fixuplabelno;
extern int fixuplabelno;
 
 
/* Handle constructors specially for -mrelocatable.  */
/* Handle constructors specially for -mrelocatable.  */
#define TARGET_ASM_CONSTRUCTOR  rs6000_elf_asm_out_constructor
#define TARGET_ASM_CONSTRUCTOR  rs6000_elf_asm_out_constructor
#define TARGET_ASM_DESTRUCTOR   rs6000_elf_asm_out_destructor
#define TARGET_ASM_DESTRUCTOR   rs6000_elf_asm_out_destructor
 
 
/* This is the end of what might become sysv4.h.  */
/* This is the end of what might become sysv4.h.  */
 
 
/* Use DWARF 2 debugging information by default.  */
/* Use DWARF 2 debugging information by default.  */
#undef  PREFERRED_DEBUGGING_TYPE
#undef  PREFERRED_DEBUGGING_TYPE
#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
 
 
/* Historically we have also supported stabs debugging.  */
/* Historically we have also supported stabs debugging.  */
#define DBX_DEBUGGING_INFO 1
#define DBX_DEBUGGING_INFO 1
 
 
#define TARGET_ENCODE_SECTION_INFO  rs6000_elf_encode_section_info
#define TARGET_ENCODE_SECTION_INFO  rs6000_elf_encode_section_info
#define TARGET_IN_SMALL_DATA_P  rs6000_elf_in_small_data_p
#define TARGET_IN_SMALL_DATA_P  rs6000_elf_in_small_data_p
 
 
/* The ELF version doesn't encode [DS] or whatever at the end of symbols.  */
/* The ELF version doesn't encode [DS] or whatever at the end of symbols.  */
 
 
#define RS6000_OUTPUT_BASENAME(FILE, NAME)      \
#define RS6000_OUTPUT_BASENAME(FILE, NAME)      \
    assemble_name (FILE, NAME)
    assemble_name (FILE, NAME)
 
 
/* We have to output the stabs for the function name *first*, before
/* We have to output the stabs for the function name *first*, before
   outputting its label.  */
   outputting its label.  */
 
 
#define DBX_FUNCTION_FIRST
#define DBX_FUNCTION_FIRST
 
 
/* This is the end of what might become sysv4dbx.h.  */
/* This is the end of what might become sysv4dbx.h.  */
 
 
#ifndef TARGET_VERSION
#ifndef TARGET_VERSION
#define TARGET_VERSION fprintf (stderr, " (PowerPC System V.4)");
#define TARGET_VERSION fprintf (stderr, " (PowerPC System V.4)");
#endif
#endif


#define TARGET_OS_SYSV_CPP_BUILTINS()           \
#define TARGET_OS_SYSV_CPP_BUILTINS()           \
  do                                            \
  do                                            \
    {                                           \
    {                                           \
      if (target_flags_explicit                 \
      if (target_flags_explicit                 \
          & MASK_RELOCATABLE)                   \
          & MASK_RELOCATABLE)                   \
        builtin_define ("_RELOCATABLE");        \
        builtin_define ("_RELOCATABLE");        \
    }                                           \
    }                                           \
  while (0)
  while (0)
 
 
#ifndef TARGET_OS_CPP_BUILTINS
#ifndef TARGET_OS_CPP_BUILTINS
#define TARGET_OS_CPP_BUILTINS()                \
#define TARGET_OS_CPP_BUILTINS()                \
  do                                            \
  do                                            \
    {                                           \
    {                                           \
      builtin_define_std ("PPC");               \
      builtin_define_std ("PPC");               \
      builtin_define_std ("unix");              \
      builtin_define_std ("unix");              \
      builtin_define ("__svr4__");              \
      builtin_define ("__svr4__");              \
      builtin_assert ("system=unix");           \
      builtin_assert ("system=unix");           \
      builtin_assert ("system=svr4");           \
      builtin_assert ("system=svr4");           \
      builtin_assert ("cpu=powerpc");           \
      builtin_assert ("cpu=powerpc");           \
      builtin_assert ("machine=powerpc");       \
      builtin_assert ("machine=powerpc");       \
      TARGET_OS_SYSV_CPP_BUILTINS ();           \
      TARGET_OS_SYSV_CPP_BUILTINS ();           \
    }                                           \
    }                                           \
  while (0)
  while (0)
#endif
#endif
 
 
/* Pass various options to the assembler.  */
/* Pass various options to the assembler.  */
/* Override svr4.h definition.  */
/* Override svr4.h definition.  */
#undef  ASM_SPEC
#undef  ASM_SPEC
#define ASM_SPEC "%(asm_cpu) \
#define ASM_SPEC "%(asm_cpu) \
%{,assembler|,assembler-with-cpp: %{mregnames} %{mno-regnames}}" \
%{,assembler|,assembler-with-cpp: %{mregnames} %{mno-regnames}}" \
SVR4_ASM_SPEC \
SVR4_ASM_SPEC \
"%{mrelocatable} %{mrelocatable-lib} %{fpic|fpie|fPIC|fPIE:-K PIC} \
"%{mrelocatable} %{mrelocatable-lib} %{fpic|fpie|fPIC|fPIE:-K PIC} \
%{memb|msdata=eabi: -memb} \
%{memb|msdata=eabi: -memb} \
%{mlittle|mlittle-endian:-mlittle; \
%{mlittle|mlittle-endian:-mlittle; \
  mbig|mbig-endian      :-mbig;    \
  mbig|mbig-endian      :-mbig;    \
  mcall-aixdesc |                  \
  mcall-aixdesc |                  \
  mcall-freebsd |                  \
  mcall-freebsd |                  \
  mcall-netbsd  |                  \
  mcall-netbsd  |                  \
  mcall-openbsd |                  \
  mcall-openbsd |                  \
  mcall-linux   |                  \
  mcall-linux   |                  \
  mcall-gnu             :-mbig;    \
  mcall-gnu             :-mbig;    \
  mcall-i960-old        :-mlittle}"
  mcall-i960-old        :-mlittle}"
 
 
#define CC1_ENDIAN_BIG_SPEC ""
#define CC1_ENDIAN_BIG_SPEC ""
 
 
#define CC1_ENDIAN_LITTLE_SPEC "\
#define CC1_ENDIAN_LITTLE_SPEC "\
%{!mstrict-align: %{!mno-strict-align: \
%{!mstrict-align: %{!mno-strict-align: \
    %{!mcall-i960-old: \
    %{!mcall-i960-old: \
        -mstrict-align \
        -mstrict-align \
    } \
    } \
}}"
}}"
 
 
#define CC1_ENDIAN_DEFAULT_SPEC "%(cc1_endian_big)"
#define CC1_ENDIAN_DEFAULT_SPEC "%(cc1_endian_big)"
 
 
#ifndef CC1_SECURE_PLT_DEFAULT_SPEC
#ifndef CC1_SECURE_PLT_DEFAULT_SPEC
#define CC1_SECURE_PLT_DEFAULT_SPEC ""
#define CC1_SECURE_PLT_DEFAULT_SPEC ""
#endif
#endif
 
 
/* Pass -G xxx to the compiler and set correct endian mode.  */
/* Pass -G xxx to the compiler and set correct endian mode.  */
#define CC1_SPEC "%{G*} %(cc1_cpu) \
#define CC1_SPEC "%{G*} %(cc1_cpu) \
%{mlittle|mlittle-endian: %(cc1_endian_little);           \
%{mlittle|mlittle-endian: %(cc1_endian_little);           \
  mbig   |mbig-endian   : %(cc1_endian_big);              \
  mbig   |mbig-endian   : %(cc1_endian_big);              \
  mcall-aixdesc |                                         \
  mcall-aixdesc |                                         \
  mcall-freebsd |                                         \
  mcall-freebsd |                                         \
  mcall-netbsd  |                                         \
  mcall-netbsd  |                                         \
  mcall-openbsd |                                         \
  mcall-openbsd |                                         \
  mcall-linux   |                                         \
  mcall-linux   |                                         \
  mcall-gnu             : -mbig %(cc1_endian_big);        \
  mcall-gnu             : -mbig %(cc1_endian_big);        \
  mcall-i960-old        : -mlittle %(cc1_endian_little);  \
  mcall-i960-old        : -mlittle %(cc1_endian_little);  \
                        : %(cc1_endian_default)}          \
                        : %(cc1_endian_default)}          \
%{meabi: %{!mcall-*: -mcall-sysv }} \
%{meabi: %{!mcall-*: -mcall-sysv }} \
%{!meabi: %{!mno-eabi: \
%{!meabi: %{!mno-eabi: \
    %{mrelocatable: -meabi } \
    %{mrelocatable: -meabi } \
    %{mcall-freebsd: -mno-eabi } \
    %{mcall-freebsd: -mno-eabi } \
    %{mcall-i960-old: -meabi } \
    %{mcall-i960-old: -meabi } \
    %{mcall-linux: -mno-eabi } \
    %{mcall-linux: -mno-eabi } \
    %{mcall-gnu: -mno-eabi } \
    %{mcall-gnu: -mno-eabi } \
    %{mcall-netbsd: -mno-eabi } \
    %{mcall-netbsd: -mno-eabi } \
    %{mcall-openbsd: -mno-eabi }}} \
    %{mcall-openbsd: -mno-eabi }}} \
%{msdata: -msdata=default} \
%{msdata: -msdata=default} \
%{mno-sdata: -msdata=none} \
%{mno-sdata: -msdata=none} \
%{!mbss-plt: %{!msecure-plt: %(cc1_secure_plt_default)}} \
%{!mbss-plt: %{!msecure-plt: %(cc1_secure_plt_default)}} \
%{profile: -p}"
%{profile: -p}"
 
 
/* Don't put -Y P,<path> for cross compilers.  */
/* Don't put -Y P,<path> for cross compilers.  */
#ifndef CROSS_DIRECTORY_STRUCTURE
#ifndef CROSS_DIRECTORY_STRUCTURE
#define LINK_PATH_SPEC "\
#define LINK_PATH_SPEC "\
%{!R*:%{L*:-R %*}} \
%{!R*:%{L*:-R %*}} \
%{!nostdlib: %{!YP,*: \
%{!nostdlib: %{!YP,*: \
    %{compat-bsd: \
    %{compat-bsd: \
        %{p:-Y P,/usr/ucblib:/usr/ccs/lib/libp:/usr/lib/libp:/usr/ccs/lib:/usr/lib} \
        %{p:-Y P,/usr/ucblib:/usr/ccs/lib/libp:/usr/lib/libp:/usr/ccs/lib:/usr/lib} \
        %{!p:-Y P,/usr/ucblib:/usr/ccs/lib:/usr/lib}} \
        %{!p:-Y P,/usr/ucblib:/usr/ccs/lib:/usr/lib}} \
        %{!R*: %{!L*: -R /usr/ucblib}} \
        %{!R*: %{!L*: -R /usr/ucblib}} \
    %{!compat-bsd: \
    %{!compat-bsd: \
        %{p:-Y P,/usr/ccs/lib/libp:/usr/lib/libp:/usr/ccs/lib:/usr/lib} \
        %{p:-Y P,/usr/ccs/lib/libp:/usr/lib/libp:/usr/ccs/lib:/usr/lib} \
        %{!p:-Y P,/usr/ccs/lib:/usr/lib}}}}"
        %{!p:-Y P,/usr/ccs/lib:/usr/lib}}}}"
 
 
#else
#else
#define LINK_PATH_SPEC ""
#define LINK_PATH_SPEC ""
#endif
#endif
 
 
/* Default starting address if specified.  */
/* Default starting address if specified.  */
#define LINK_START_SPEC "\
#define LINK_START_SPEC "\
%{mads         : %(link_start_ads)         ; \
%{mads         : %(link_start_ads)         ; \
  myellowknife : %(link_start_yellowknife) ; \
  myellowknife : %(link_start_yellowknife) ; \
  mmvme        : %(link_start_mvme)        ; \
  mmvme        : %(link_start_mvme)        ; \
  msim         : %(link_start_sim)         ; \
  msim         : %(link_start_sim)         ; \
  mcall-freebsd: %(link_start_freebsd)     ; \
  mcall-freebsd: %(link_start_freebsd)     ; \
  mcall-linux  : %(link_start_linux)       ; \
  mcall-linux  : %(link_start_linux)       ; \
  mcall-gnu    : %(link_start_gnu)         ; \
  mcall-gnu    : %(link_start_gnu)         ; \
  mcall-netbsd : %(link_start_netbsd)      ; \
  mcall-netbsd : %(link_start_netbsd)      ; \
  mcall-openbsd: %(link_start_openbsd)     ; \
  mcall-openbsd: %(link_start_openbsd)     ; \
               : %(link_start_default)     }"
               : %(link_start_default)     }"
 
 
#define LINK_START_DEFAULT_SPEC ""
#define LINK_START_DEFAULT_SPEC ""
 
 
/* Override svr4.h definition.  */
/* Override svr4.h definition.  */
#undef  LINK_SPEC
#undef  LINK_SPEC
#define LINK_SPEC "\
#define LINK_SPEC "\
%{h*} %{v:-V} %{!msdata=none:%{G*}} %{msdata=none:-G0} \
%{h*} %{v:-V} %{!msdata=none:%{G*}} %{msdata=none:-G0} \
%{YP,*} %{R*} \
%{YP,*} %{R*} \
%{Qy:} %{!Qn:-Qy} \
%{Qy:} %{!Qn:-Qy} \
%(link_shlib) \
%(link_shlib) \
%{!Wl,-T*: %{!T*: %(link_start) }} \
%{!Wl,-T*: %{!T*: %(link_start) }} \
%(link_target) \
%(link_target) \
%(link_os)"
%(link_os)"
 
 
/* For now, turn off shared libraries by default.  */
/* For now, turn off shared libraries by default.  */
#ifndef SHARED_LIB_SUPPORT
#ifndef SHARED_LIB_SUPPORT
#define NO_SHARED_LIB_SUPPORT
#define NO_SHARED_LIB_SUPPORT
#endif
#endif
 
 
#ifndef NO_SHARED_LIB_SUPPORT
#ifndef NO_SHARED_LIB_SUPPORT
/* Shared libraries are default.  */
/* Shared libraries are default.  */
#define LINK_SHLIB_SPEC "\
#define LINK_SHLIB_SPEC "\
%{!static: %(link_path) %{!R*:%{L*:-R %*}}} \
%{!static: %(link_path) %{!R*:%{L*:-R %*}}} \
%{mshlib: } \
%{mshlib: } \
%{static:-dn -Bstatic} \
%{static:-dn -Bstatic} \
%{shared:-G -dy -z text} \
%{shared:-G -dy -z text} \
%{symbolic:-Bsymbolic -G -dy -z text}"
%{symbolic:-Bsymbolic -G -dy -z text}"
 
 
#else
#else
/* Shared libraries are not default.  */
/* Shared libraries are not default.  */
#define LINK_SHLIB_SPEC "\
#define LINK_SHLIB_SPEC "\
%{mshlib: %(link_path) } \
%{mshlib: %(link_path) } \
%{!mshlib: %{!shared: %{!symbolic: -dn -Bstatic}}} \
%{!mshlib: %{!shared: %{!symbolic: -dn -Bstatic}}} \
%{static: } \
%{static: } \
%{shared:-G -dy -z text %(link_path) } \
%{shared:-G -dy -z text %(link_path) } \
%{symbolic:-Bsymbolic -G -dy -z text %(link_path) }"
%{symbolic:-Bsymbolic -G -dy -z text %(link_path) }"
#endif
#endif
 
 
/* Override the default target of the linker.  */
/* Override the default target of the linker.  */
#define LINK_TARGET_SPEC "\
#define LINK_TARGET_SPEC "\
%{mlittle: --oformat elf32-powerpcle } %{mlittle-endian: --oformat elf32-powerpcle } \
%{mlittle: --oformat elf32-powerpcle } %{mlittle-endian: --oformat elf32-powerpcle } \
%{!mlittle: %{!mlittle-endian: %{!mbig: %{!mbig-endian: \
%{!mlittle: %{!mlittle-endian: %{!mbig: %{!mbig-endian: \
    %{mcall-i960-old: --oformat elf32-powerpcle} \
    %{mcall-i960-old: --oformat elf32-powerpcle} \
  }}}}"
  }}}}"
 
 
/* Any specific OS flags.  */
/* Any specific OS flags.  */
#define LINK_OS_SPEC "\
#define LINK_OS_SPEC "\
%{mads         : %(link_os_ads)         ; \
%{mads         : %(link_os_ads)         ; \
  myellowknife : %(link_os_yellowknife) ; \
  myellowknife : %(link_os_yellowknife) ; \
  mmvme        : %(link_os_mvme)        ; \
  mmvme        : %(link_os_mvme)        ; \
  msim         : %(link_os_sim)         ; \
  msim         : %(link_os_sim)         ; \
  mcall-freebsd: %(link_os_freebsd)     ; \
  mcall-freebsd: %(link_os_freebsd)     ; \
  mcall-linux  : %(link_os_linux)       ; \
  mcall-linux  : %(link_os_linux)       ; \
  mcall-gnu    : %(link_os_gnu)         ; \
  mcall-gnu    : %(link_os_gnu)         ; \
  mcall-netbsd : %(link_os_netbsd)      ; \
  mcall-netbsd : %(link_os_netbsd)      ; \
  mcall-openbsd: %(link_os_openbsd)     ; \
  mcall-openbsd: %(link_os_openbsd)     ; \
               : %(link_os_default)     }"
               : %(link_os_default)     }"
 
 
#define LINK_OS_DEFAULT_SPEC ""
#define LINK_OS_DEFAULT_SPEC ""
 
 
#define DRIVER_SELF_SPECS "%{mfpu=none: %<mfpu=* \
#define DRIVER_SELF_SPECS "%{mfpu=none: %<mfpu=* \
        %<msingle-float %<mdouble-float}"
        %<msingle-float %<mdouble-float}"
 
 
/* Override rs6000.h definition.  */
/* Override rs6000.h definition.  */
#undef  CPP_SPEC
#undef  CPP_SPEC
#define CPP_SPEC "%{posix: -D_POSIX_SOURCE} \
#define CPP_SPEC "%{posix: -D_POSIX_SOURCE} \
%{mads         : %(cpp_os_ads)         ; \
%{mads         : %(cpp_os_ads)         ; \
  myellowknife : %(cpp_os_yellowknife) ; \
  myellowknife : %(cpp_os_yellowknife) ; \
  mmvme        : %(cpp_os_mvme)        ; \
  mmvme        : %(cpp_os_mvme)        ; \
  msim         : %(cpp_os_sim)         ; \
  msim         : %(cpp_os_sim)         ; \
  mcall-freebsd: %(cpp_os_freebsd)     ; \
  mcall-freebsd: %(cpp_os_freebsd)     ; \
  mcall-linux  : %(cpp_os_linux)       ; \
  mcall-linux  : %(cpp_os_linux)       ; \
  mcall-gnu    : %(cpp_os_gnu)         ; \
  mcall-gnu    : %(cpp_os_gnu)         ; \
  mcall-netbsd : %(cpp_os_netbsd)      ; \
  mcall-netbsd : %(cpp_os_netbsd)      ; \
  mcall-openbsd: %(cpp_os_openbsd)     ; \
  mcall-openbsd: %(cpp_os_openbsd)     ; \
               : %(cpp_os_default)     }"
               : %(cpp_os_default)     }"
 
 
#define CPP_OS_DEFAULT_SPEC ""
#define CPP_OS_DEFAULT_SPEC ""
 
 
/* Override svr4.h definition.  */
/* Override svr4.h definition.  */
#undef  STARTFILE_SPEC
#undef  STARTFILE_SPEC
#define STARTFILE_SPEC "\
#define STARTFILE_SPEC "\
%{mads         : %(startfile_ads)         ; \
%{mads         : %(startfile_ads)         ; \
  myellowknife : %(startfile_yellowknife) ; \
  myellowknife : %(startfile_yellowknife) ; \
  mmvme        : %(startfile_mvme)        ; \
  mmvme        : %(startfile_mvme)        ; \
  msim         : %(startfile_sim)         ; \
  msim         : %(startfile_sim)         ; \
  mcall-freebsd: %(startfile_freebsd)     ; \
  mcall-freebsd: %(startfile_freebsd)     ; \
  mcall-linux  : %(startfile_linux)       ; \
  mcall-linux  : %(startfile_linux)       ; \
  mcall-gnu    : %(startfile_gnu)         ; \
  mcall-gnu    : %(startfile_gnu)         ; \
  mcall-netbsd : %(startfile_netbsd)      ; \
  mcall-netbsd : %(startfile_netbsd)      ; \
  mcall-openbsd: %(startfile_openbsd)     ; \
  mcall-openbsd: %(startfile_openbsd)     ; \
               : %(startfile_default)     }"
               : %(startfile_default)     }"
 
 
#define STARTFILE_DEFAULT_SPEC "ecrti.o%s crtbegin.o%s"
#define STARTFILE_DEFAULT_SPEC "ecrti.o%s crtbegin.o%s"
 
 
/* Override svr4.h definition.  */
/* Override svr4.h definition.  */
#undef  LIB_SPEC
#undef  LIB_SPEC
#define LIB_SPEC "\
#define LIB_SPEC "\
%{mads         : %(lib_ads)         ; \
%{mads         : %(lib_ads)         ; \
  myellowknife : %(lib_yellowknife) ; \
  myellowknife : %(lib_yellowknife) ; \
  mmvme        : %(lib_mvme)        ; \
  mmvme        : %(lib_mvme)        ; \
  msim         : %(lib_sim)         ; \
  msim         : %(lib_sim)         ; \
  mcall-freebsd: %(lib_freebsd)     ; \
  mcall-freebsd: %(lib_freebsd)     ; \
  mcall-linux  : %(lib_linux)       ; \
  mcall-linux  : %(lib_linux)       ; \
  mcall-gnu    : %(lib_gnu)         ; \
  mcall-gnu    : %(lib_gnu)         ; \
  mcall-netbsd : %(lib_netbsd)      ; \
  mcall-netbsd : %(lib_netbsd)      ; \
  mcall-openbsd: %(lib_openbsd)     ; \
  mcall-openbsd: %(lib_openbsd)     ; \
               : %(lib_default)     }"
               : %(lib_default)     }"
 
 
#define LIB_DEFAULT_SPEC "-lc"
#define LIB_DEFAULT_SPEC "-lc"
 
 
/* Override svr4.h definition.  */
/* Override svr4.h definition.  */
#undef  ENDFILE_SPEC
#undef  ENDFILE_SPEC
#define ENDFILE_SPEC "\
#define ENDFILE_SPEC "\
%{mads         : %(endfile_ads)         ; \
%{mads         : %(endfile_ads)         ; \
  myellowknife : %(endfile_yellowknife) ; \
  myellowknife : %(endfile_yellowknife) ; \
  mmvme        : %(endfile_mvme)        ; \
  mmvme        : %(endfile_mvme)        ; \
  msim         : %(endfile_sim)         ; \
  msim         : %(endfile_sim)         ; \
  mcall-freebsd: %(endfile_freebsd)     ; \
  mcall-freebsd: %(endfile_freebsd)     ; \
  mcall-linux  : %(endfile_linux)       ; \
  mcall-linux  : %(endfile_linux)       ; \
  mcall-gnu    : %(endfile_gnu)         ; \
  mcall-gnu    : %(endfile_gnu)         ; \
  mcall-netbsd : %(endfile_netbsd)      ; \
  mcall-netbsd : %(endfile_netbsd)      ; \
  mcall-openbsd: %(endfile_openbsd)     ; \
  mcall-openbsd: %(endfile_openbsd)     ; \
               : %(crtsavres_default) %(endfile_default)     }"
               : %(crtsavres_default) %(endfile_default)     }"
 
 
#define CRTSAVRES_DEFAULT_SPEC ""
#define CRTSAVRES_DEFAULT_SPEC ""
 
 
#define ENDFILE_DEFAULT_SPEC "crtend.o%s ecrtn.o%s"
#define ENDFILE_DEFAULT_SPEC "crtend.o%s ecrtn.o%s"
 
 
/* Motorola ADS support.  */
/* Motorola ADS support.  */
#define LIB_ADS_SPEC "--start-group -lads -lc --end-group"
#define LIB_ADS_SPEC "--start-group -lads -lc --end-group"
 
 
#define STARTFILE_ADS_SPEC "ecrti.o%s crt0.o%s crtbegin.o%s"
#define STARTFILE_ADS_SPEC "ecrti.o%s crt0.o%s crtbegin.o%s"
 
 
#define ENDFILE_ADS_SPEC "crtend.o%s ecrtn.o%s"
#define ENDFILE_ADS_SPEC "crtend.o%s ecrtn.o%s"
 
 
#define LINK_START_ADS_SPEC "-T ads.ld%s"
#define LINK_START_ADS_SPEC "-T ads.ld%s"
 
 
#define LINK_OS_ADS_SPEC ""
#define LINK_OS_ADS_SPEC ""
 
 
#define CPP_OS_ADS_SPEC ""
#define CPP_OS_ADS_SPEC ""
 
 
/* Motorola Yellowknife support.  */
/* Motorola Yellowknife support.  */
#define LIB_YELLOWKNIFE_SPEC "--start-group -lyk -lc --end-group"
#define LIB_YELLOWKNIFE_SPEC "--start-group -lyk -lc --end-group"
 
 
#define STARTFILE_YELLOWKNIFE_SPEC "ecrti.o%s crt0.o%s crtbegin.o%s"
#define STARTFILE_YELLOWKNIFE_SPEC "ecrti.o%s crt0.o%s crtbegin.o%s"
 
 
#define ENDFILE_YELLOWKNIFE_SPEC "crtend.o%s ecrtn.o%s"
#define ENDFILE_YELLOWKNIFE_SPEC "crtend.o%s ecrtn.o%s"
 
 
#define LINK_START_YELLOWKNIFE_SPEC "-T yellowknife.ld%s"
#define LINK_START_YELLOWKNIFE_SPEC "-T yellowknife.ld%s"
 
 
#define LINK_OS_YELLOWKNIFE_SPEC ""
#define LINK_OS_YELLOWKNIFE_SPEC ""
 
 
#define CPP_OS_YELLOWKNIFE_SPEC ""
#define CPP_OS_YELLOWKNIFE_SPEC ""
 
 
/* Motorola MVME support.  */
/* Motorola MVME support.  */
#define LIB_MVME_SPEC "--start-group -lmvme -lc --end-group"
#define LIB_MVME_SPEC "--start-group -lmvme -lc --end-group"
 
 
#define STARTFILE_MVME_SPEC "ecrti.o%s crt0.o%s crtbegin.o%s"
#define STARTFILE_MVME_SPEC "ecrti.o%s crt0.o%s crtbegin.o%s"
 
 
#define ENDFILE_MVME_SPEC "crtend.o%s ecrtn.o%s"
#define ENDFILE_MVME_SPEC "crtend.o%s ecrtn.o%s"
 
 
#define LINK_START_MVME_SPEC "-Ttext 0x40000"
#define LINK_START_MVME_SPEC "-Ttext 0x40000"
 
 
#define LINK_OS_MVME_SPEC ""
#define LINK_OS_MVME_SPEC ""
 
 
#define CPP_OS_MVME_SPEC ""
#define CPP_OS_MVME_SPEC ""
 
 
/* PowerPC simulator based on netbsd system calls support.  */
/* PowerPC simulator based on netbsd system calls support.  */
#define LIB_SIM_SPEC "--start-group -lsim -lc --end-group"
#define LIB_SIM_SPEC "--start-group -lsim -lc --end-group"
 
 
#define STARTFILE_SIM_SPEC "ecrti.o%s sim-crt0.o%s crtbegin.o%s"
#define STARTFILE_SIM_SPEC "ecrti.o%s sim-crt0.o%s crtbegin.o%s"
 
 
#define ENDFILE_SIM_SPEC "crtend.o%s ecrtn.o%s"
#define ENDFILE_SIM_SPEC "crtend.o%s ecrtn.o%s"
 
 
#define LINK_START_SIM_SPEC ""
#define LINK_START_SIM_SPEC ""
 
 
#define LINK_OS_SIM_SPEC "-m elf32ppcsim"
#define LINK_OS_SIM_SPEC "-m elf32ppcsim"
 
 
#define CPP_OS_SIM_SPEC ""
#define CPP_OS_SIM_SPEC ""
 
 
/* FreeBSD support.  */
/* FreeBSD support.  */
 
 
#define CPP_OS_FREEBSD_SPEC     "\
#define CPP_OS_FREEBSD_SPEC     "\
  -D__PPC__ -D__ppc__ -D__PowerPC__ -D__powerpc__ \
  -D__PPC__ -D__ppc__ -D__PowerPC__ -D__powerpc__ \
  -Acpu=powerpc -Amachine=powerpc"
  -Acpu=powerpc -Amachine=powerpc"
 
 
#define STARTFILE_FREEBSD_SPEC  FBSD_STARTFILE_SPEC
#define STARTFILE_FREEBSD_SPEC  FBSD_STARTFILE_SPEC
#define ENDFILE_FREEBSD_SPEC    FBSD_ENDFILE_SPEC
#define ENDFILE_FREEBSD_SPEC    FBSD_ENDFILE_SPEC
#define LIB_FREEBSD_SPEC        FBSD_LIB_SPEC
#define LIB_FREEBSD_SPEC        FBSD_LIB_SPEC
#define LINK_START_FREEBSD_SPEC ""
#define LINK_START_FREEBSD_SPEC ""
 
 
#define LINK_OS_FREEBSD_SPEC "\
#define LINK_OS_FREEBSD_SPEC "\
  %{p:%nconsider using `-pg' instead of `-p' with gprof(1)} \
  %{p:%nconsider using `-pg' instead of `-p' with gprof(1)} \
  %{v:-V} \
  %{v:-V} \
  %{assert*} %{R*} %{rpath*} %{defsym*} \
  %{assert*} %{R*} %{rpath*} %{defsym*} \
  %{shared:-Bshareable %{h*} %{soname*}} \
  %{shared:-Bshareable %{h*} %{soname*}} \
  %{!shared: \
  %{!shared: \
    %{!static: \
    %{!static: \
      %{rdynamic: -export-dynamic} \
      %{rdynamic: -export-dynamic} \
      %{!dynamic-linker:-dynamic-linker %(fbsd_dynamic_linker) }} \
      %{!dynamic-linker:-dynamic-linker %(fbsd_dynamic_linker) }} \
    %{static:-Bstatic}} \
    %{static:-Bstatic}} \
  %{symbolic:-Bsymbolic}"
  %{symbolic:-Bsymbolic}"
 
 
/* GNU/Linux support.  */
/* GNU/Linux support.  */
#define LIB_LINUX_SPEC "%{mnewlib: --start-group -llinux -lc --end-group } \
#define LIB_LINUX_SPEC "%{mnewlib: --start-group -llinux -lc --end-group } \
%{!mnewlib: %{pthread:-lpthread} %{shared:-lc} \
%{!mnewlib: %{pthread:-lpthread} %{shared:-lc} \
%{!shared: %{profile:-lc_p} %{!profile:-lc}}}"
%{!shared: %{profile:-lc_p} %{!profile:-lc}}}"
 
 
#ifdef HAVE_LD_PIE
#ifdef HAVE_LD_PIE
#define STARTFILE_LINUX_SPEC "\
#define STARTFILE_LINUX_SPEC "\
%{!shared: %{pg|p|profile:gcrt1.o%s;pie:Scrt1.o%s;:crt1.o%s}} \
%{!shared: %{pg|p|profile:gcrt1.o%s;pie:Scrt1.o%s;:crt1.o%s}} \
%{mnewlib:ecrti.o%s;:crti.o%s} \
%{mnewlib:ecrti.o%s;:crti.o%s} \
%{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
%{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
#else
#else
#define STARTFILE_LINUX_SPEC "\
#define STARTFILE_LINUX_SPEC "\
%{!shared: %{pg|p|profile:gcrt1.o%s;:crt1.o%s}} \
%{!shared: %{pg|p|profile:gcrt1.o%s;:crt1.o%s}} \
%{mnewlib:ecrti.o%s;:crti.o%s} \
%{mnewlib:ecrti.o%s;:crti.o%s} \
%{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
%{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
#endif
#endif
 
 
#define ENDFILE_LINUX_SPEC "\
#define ENDFILE_LINUX_SPEC "\
%{shared|pie:crtendS.o%s;:crtend.o%s} \
%{shared|pie:crtendS.o%s;:crtend.o%s} \
%{mnewlib:ecrtn.o%s;:crtn.o%s}"
%{mnewlib:ecrtn.o%s;:crtn.o%s}"
 
 
#define LINK_START_LINUX_SPEC ""
#define LINK_START_LINUX_SPEC ""
 
 
#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
#if UCLIBC_DEFAULT
#if UCLIBC_DEFAULT
#define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"
#define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"
#else
#else
#define CHOOSE_DYNAMIC_LINKER(G, U) "%{muclibc:%{mglibc:%e-mglibc and -muclibc used together}" U ";:" G "}"
#define CHOOSE_DYNAMIC_LINKER(G, U) "%{muclibc:%{mglibc:%e-mglibc and -muclibc used together}" U ";:" G "}"
#endif
#endif
#define LINUX_DYNAMIC_LINKER \
#define LINUX_DYNAMIC_LINKER \
  CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER)
  CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER)
 
 
#define LINK_OS_LINUX_SPEC "-m elf32ppclinux %{!shared: %{!static: \
#define LINK_OS_LINUX_SPEC "-m elf32ppclinux %{!shared: %{!static: \
  %{rdynamic:-export-dynamic} \
  %{rdynamic:-export-dynamic} \
  %{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "}}}"
  %{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "}}}"
 
 
#if defined(HAVE_LD_EH_FRAME_HDR)
#if defined(HAVE_LD_EH_FRAME_HDR)
# define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
# define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
#endif
#endif
 
 
#define CPP_OS_LINUX_SPEC "-D__unix__ -D__gnu_linux__ -D__linux__ \
#define CPP_OS_LINUX_SPEC "-D__unix__ -D__gnu_linux__ -D__linux__ \
%{!undef:                                                         \
%{!undef:                                                         \
  %{!ansi:                                                        \
  %{!ansi:                                                        \
    %{!std=*:-Dunix -D__unix -Dlinux -D__linux}                   \
    %{!std=*:-Dunix -D__unix -Dlinux -D__linux}                   \
    %{std=gnu*:-Dunix -D__unix -Dlinux -D__linux}}}               \
    %{std=gnu*:-Dunix -D__unix -Dlinux -D__linux}}}               \
-Asystem=linux -Asystem=unix -Asystem=posix %{pthread:-D_REENTRANT}"
-Asystem=linux -Asystem=unix -Asystem=posix %{pthread:-D_REENTRANT}"
 
 
/* GNU/Hurd support.  */
/* GNU/Hurd support.  */
#define LIB_GNU_SPEC "%{mnewlib: --start-group -lgnu -lc --end-group } \
#define LIB_GNU_SPEC "%{mnewlib: --start-group -lgnu -lc --end-group } \
%{!mnewlib: %{shared:-lc} %{!shared: %{pthread:-lpthread } \
%{!mnewlib: %{shared:-lc} %{!shared: %{pthread:-lpthread } \
%{profile:-lc_p} %{!profile:-lc}}}"
%{profile:-lc_p} %{!profile:-lc}}}"
 
 
#define STARTFILE_GNU_SPEC "\
#define STARTFILE_GNU_SPEC "\
%{!shared: %{!static: %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}}} \
%{!shared: %{!static: %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}}} \
%{static: %{pg:gcrt0.o%s} %{!pg:%{p:gcrt0.o%s} %{!p:crt0.o%s}}} \
%{static: %{pg:gcrt0.o%s} %{!pg:%{p:gcrt0.o%s} %{!p:crt0.o%s}}} \
%{mnewlib: ecrti.o%s} %{!mnewlib: crti.o%s} \
%{mnewlib: ecrti.o%s} %{!mnewlib: crti.o%s} \
%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
 
 
#define ENDFILE_GNU_SPEC "%{!shared:crtend.o%s} %{shared:crtendS.o%s} \
#define ENDFILE_GNU_SPEC "%{!shared:crtend.o%s} %{shared:crtendS.o%s} \
%{mnewlib: ecrtn.o%s} %{!mnewlib: crtn.o%s}"
%{mnewlib: ecrtn.o%s} %{!mnewlib: crtn.o%s}"
 
 
#define LINK_START_GNU_SPEC ""
#define LINK_START_GNU_SPEC ""
 
 
#define LINK_OS_GNU_SPEC "-m elf32ppclinux %{!shared: %{!static: \
#define LINK_OS_GNU_SPEC "-m elf32ppclinux %{!shared: %{!static: \
  %{rdynamic:-export-dynamic} \
  %{rdynamic:-export-dynamic} \
  %{!dynamic-linker:-dynamic-linker /lib/ld.so.1}}}"
  %{!dynamic-linker:-dynamic-linker /lib/ld.so.1}}}"
 
 
#define CPP_OS_GNU_SPEC "-D__unix__ -D__gnu_hurd__ -D__GNU__    \
#define CPP_OS_GNU_SPEC "-D__unix__ -D__gnu_hurd__ -D__GNU__    \
%{!undef:                                                       \
%{!undef:                                                       \
  %{!ansi: -Dunix -D__unix}}                                    \
  %{!ansi: -Dunix -D__unix}}                                    \
-Asystem=gnu -Asystem=unix -Asystem=posix %{pthread:-D_REENTRANT}"
-Asystem=gnu -Asystem=unix -Asystem=posix %{pthread:-D_REENTRANT}"
 
 
/* NetBSD support.  */
/* NetBSD support.  */
#define LIB_NETBSD_SPEC "\
#define LIB_NETBSD_SPEC "\
%{profile:-lgmon -lc_p} %{!profile:-lc}"
%{profile:-lgmon -lc_p} %{!profile:-lc}"
 
 
#define STARTFILE_NETBSD_SPEC "\
#define STARTFILE_NETBSD_SPEC "\
ncrti.o%s crt0.o%s \
ncrti.o%s crt0.o%s \
%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
 
 
#define ENDFILE_NETBSD_SPEC "\
#define ENDFILE_NETBSD_SPEC "\
%{!shared:crtend.o%s} %{shared:crtendS.o%s} \
%{!shared:crtend.o%s} %{shared:crtendS.o%s} \
ncrtn.o%s"
ncrtn.o%s"
 
 
#define LINK_START_NETBSD_SPEC "\
#define LINK_START_NETBSD_SPEC "\
"
"
 
 
#define LINK_OS_NETBSD_SPEC "\
#define LINK_OS_NETBSD_SPEC "\
%{!shared: %{!static: \
%{!shared: %{!static: \
  %{rdynamic:-export-dynamic} \
  %{rdynamic:-export-dynamic} \
  %{!dynamic-linker:-dynamic-linker /usr/libexec/ld.elf_so}}}"
  %{!dynamic-linker:-dynamic-linker /usr/libexec/ld.elf_so}}}"
 
 
#define CPP_OS_NETBSD_SPEC "\
#define CPP_OS_NETBSD_SPEC "\
-D__powerpc__ -D__NetBSD__ -D__KPRINTF_ATTRIBUTE__"
-D__powerpc__ -D__NetBSD__ -D__KPRINTF_ATTRIBUTE__"
 
 
/* OpenBSD support.  */
/* OpenBSD support.  */
#ifndef LIB_OPENBSD_SPEC
#ifndef LIB_OPENBSD_SPEC
#define LIB_OPENBSD_SPEC "%{!shared:%{pthread:-lpthread%{p:_p}%{!p:%{pg:_p}}}} %{!shared:-lc%{p:_p}%{!p:%{pg:_p}}}"
#define LIB_OPENBSD_SPEC "%{!shared:%{pthread:-lpthread%{p:_p}%{!p:%{pg:_p}}}} %{!shared:-lc%{p:_p}%{!p:%{pg:_p}}}"
#endif
#endif
 
 
#ifndef STARTFILE_OPENBSD_SPEC
#ifndef STARTFILE_OPENBSD_SPEC
#define STARTFILE_OPENBSD_SPEC "\
#define STARTFILE_OPENBSD_SPEC "\
%{!shared: %{pg:gcrt0.o%s} %{!pg:%{p:gcrt0.o%s} %{!p:crt0.o%s}}} \
%{!shared: %{pg:gcrt0.o%s} %{!pg:%{p:gcrt0.o%s} %{!p:crt0.o%s}}} \
%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
#endif
#endif
 
 
#ifndef ENDFILE_OPENBSD_SPEC
#ifndef ENDFILE_OPENBSD_SPEC
#define ENDFILE_OPENBSD_SPEC "\
#define ENDFILE_OPENBSD_SPEC "\
%{!shared:crtend.o%s} %{shared:crtendS.o%s}"
%{!shared:crtend.o%s} %{shared:crtendS.o%s}"
#endif
#endif
 
 
#ifndef LINK_START_OPENBSD_SPEC
#ifndef LINK_START_OPENBSD_SPEC
#define LINK_START_OPENBSD_SPEC "-Ttext 0x400074"
#define LINK_START_OPENBSD_SPEC "-Ttext 0x400074"
#endif
#endif
 
 
#ifndef LINK_OS_OPENBSD_SPEC
#ifndef LINK_OS_OPENBSD_SPEC
#define LINK_OS_OPENBSD_SPEC ""
#define LINK_OS_OPENBSD_SPEC ""
#endif
#endif
 
 
#ifndef CPP_OS_OPENBSD_SPEC
#ifndef CPP_OS_OPENBSD_SPEC
#define CPP_OS_OPENBSD_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_POSIX_THREADS}"
#define CPP_OS_OPENBSD_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_POSIX_THREADS}"
#endif
#endif
 
 
/* Define any extra SPECS that the compiler needs to generate.  */
/* Define any extra SPECS that the compiler needs to generate.  */
/* Override rs6000.h definition.  */
/* Override rs6000.h definition.  */
#undef  SUBTARGET_EXTRA_SPECS
#undef  SUBTARGET_EXTRA_SPECS
#define SUBTARGET_EXTRA_SPECS                                           \
#define SUBTARGET_EXTRA_SPECS                                           \
  { "crtsavres_default",        CRTSAVRES_DEFAULT_SPEC },               \
  { "crtsavres_default",        CRTSAVRES_DEFAULT_SPEC },               \
  { "lib_ads",                  LIB_ADS_SPEC },                         \
  { "lib_ads",                  LIB_ADS_SPEC },                         \
  { "lib_yellowknife",          LIB_YELLOWKNIFE_SPEC },                 \
  { "lib_yellowknife",          LIB_YELLOWKNIFE_SPEC },                 \
  { "lib_mvme",                 LIB_MVME_SPEC },                        \
  { "lib_mvme",                 LIB_MVME_SPEC },                        \
  { "lib_sim",                  LIB_SIM_SPEC },                         \
  { "lib_sim",                  LIB_SIM_SPEC },                         \
  { "lib_freebsd",              LIB_FREEBSD_SPEC },                     \
  { "lib_freebsd",              LIB_FREEBSD_SPEC },                     \
  { "lib_gnu",                  LIB_GNU_SPEC },                         \
  { "lib_gnu",                  LIB_GNU_SPEC },                         \
  { "lib_linux",                LIB_LINUX_SPEC },                       \
  { "lib_linux",                LIB_LINUX_SPEC },                       \
  { "lib_netbsd",               LIB_NETBSD_SPEC },                      \
  { "lib_netbsd",               LIB_NETBSD_SPEC },                      \
  { "lib_openbsd",              LIB_OPENBSD_SPEC },                     \
  { "lib_openbsd",              LIB_OPENBSD_SPEC },                     \
  { "lib_default",              LIB_DEFAULT_SPEC },                     \
  { "lib_default",              LIB_DEFAULT_SPEC },                     \
  { "startfile_ads",            STARTFILE_ADS_SPEC },                   \
  { "startfile_ads",            STARTFILE_ADS_SPEC },                   \
  { "startfile_yellowknife",    STARTFILE_YELLOWKNIFE_SPEC },           \
  { "startfile_yellowknife",    STARTFILE_YELLOWKNIFE_SPEC },           \
  { "startfile_mvme",           STARTFILE_MVME_SPEC },                  \
  { "startfile_mvme",           STARTFILE_MVME_SPEC },                  \
  { "startfile_sim",            STARTFILE_SIM_SPEC },                   \
  { "startfile_sim",            STARTFILE_SIM_SPEC },                   \
  { "startfile_freebsd",        STARTFILE_FREEBSD_SPEC },               \
  { "startfile_freebsd",        STARTFILE_FREEBSD_SPEC },               \
  { "startfile_gnu",            STARTFILE_GNU_SPEC },                   \
  { "startfile_gnu",            STARTFILE_GNU_SPEC },                   \
  { "startfile_linux",          STARTFILE_LINUX_SPEC },                 \
  { "startfile_linux",          STARTFILE_LINUX_SPEC },                 \
  { "startfile_netbsd",         STARTFILE_NETBSD_SPEC },                \
  { "startfile_netbsd",         STARTFILE_NETBSD_SPEC },                \
  { "startfile_openbsd",        STARTFILE_OPENBSD_SPEC },               \
  { "startfile_openbsd",        STARTFILE_OPENBSD_SPEC },               \
  { "startfile_default",        STARTFILE_DEFAULT_SPEC },               \
  { "startfile_default",        STARTFILE_DEFAULT_SPEC },               \
  { "endfile_ads",              ENDFILE_ADS_SPEC },                     \
  { "endfile_ads",              ENDFILE_ADS_SPEC },                     \
  { "endfile_yellowknife",      ENDFILE_YELLOWKNIFE_SPEC },             \
  { "endfile_yellowknife",      ENDFILE_YELLOWKNIFE_SPEC },             \
  { "endfile_mvme",             ENDFILE_MVME_SPEC },                    \
  { "endfile_mvme",             ENDFILE_MVME_SPEC },                    \
  { "endfile_sim",              ENDFILE_SIM_SPEC },                     \
  { "endfile_sim",              ENDFILE_SIM_SPEC },                     \
  { "endfile_freebsd",          ENDFILE_FREEBSD_SPEC },                 \
  { "endfile_freebsd",          ENDFILE_FREEBSD_SPEC },                 \
  { "endfile_gnu",              ENDFILE_GNU_SPEC },                     \
  { "endfile_gnu",              ENDFILE_GNU_SPEC },                     \
  { "endfile_linux",            ENDFILE_LINUX_SPEC },                   \
  { "endfile_linux",            ENDFILE_LINUX_SPEC },                   \
  { "endfile_netbsd",           ENDFILE_NETBSD_SPEC },                  \
  { "endfile_netbsd",           ENDFILE_NETBSD_SPEC },                  \
  { "endfile_openbsd",          ENDFILE_OPENBSD_SPEC },                 \
  { "endfile_openbsd",          ENDFILE_OPENBSD_SPEC },                 \
  { "endfile_default",          ENDFILE_DEFAULT_SPEC },                 \
  { "endfile_default",          ENDFILE_DEFAULT_SPEC },                 \
  { "link_path",                LINK_PATH_SPEC },                       \
  { "link_path",                LINK_PATH_SPEC },                       \
  { "link_shlib",               LINK_SHLIB_SPEC },                      \
  { "link_shlib",               LINK_SHLIB_SPEC },                      \
  { "link_target",              LINK_TARGET_SPEC },                     \
  { "link_target",              LINK_TARGET_SPEC },                     \
  { "link_start",               LINK_START_SPEC },                      \
  { "link_start",               LINK_START_SPEC },                      \
  { "link_start_ads",           LINK_START_ADS_SPEC },                  \
  { "link_start_ads",           LINK_START_ADS_SPEC },                  \
  { "link_start_yellowknife",   LINK_START_YELLOWKNIFE_SPEC },          \
  { "link_start_yellowknife",   LINK_START_YELLOWKNIFE_SPEC },          \
  { "link_start_mvme",          LINK_START_MVME_SPEC },                 \
  { "link_start_mvme",          LINK_START_MVME_SPEC },                 \
  { "link_start_sim",           LINK_START_SIM_SPEC },                  \
  { "link_start_sim",           LINK_START_SIM_SPEC },                  \
  { "link_start_freebsd",       LINK_START_FREEBSD_SPEC },              \
  { "link_start_freebsd",       LINK_START_FREEBSD_SPEC },              \
  { "link_start_gnu",           LINK_START_GNU_SPEC },                  \
  { "link_start_gnu",           LINK_START_GNU_SPEC },                  \
  { "link_start_linux",         LINK_START_LINUX_SPEC },                \
  { "link_start_linux",         LINK_START_LINUX_SPEC },                \
  { "link_start_netbsd",        LINK_START_NETBSD_SPEC },               \
  { "link_start_netbsd",        LINK_START_NETBSD_SPEC },               \
  { "link_start_openbsd",       LINK_START_OPENBSD_SPEC },              \
  { "link_start_openbsd",       LINK_START_OPENBSD_SPEC },              \
  { "link_start_default",       LINK_START_DEFAULT_SPEC },              \
  { "link_start_default",       LINK_START_DEFAULT_SPEC },              \
  { "link_os",                  LINK_OS_SPEC },                         \
  { "link_os",                  LINK_OS_SPEC },                         \
  { "link_os_ads",              LINK_OS_ADS_SPEC },                     \
  { "link_os_ads",              LINK_OS_ADS_SPEC },                     \
  { "link_os_yellowknife",      LINK_OS_YELLOWKNIFE_SPEC },             \
  { "link_os_yellowknife",      LINK_OS_YELLOWKNIFE_SPEC },             \
  { "link_os_mvme",             LINK_OS_MVME_SPEC },                    \
  { "link_os_mvme",             LINK_OS_MVME_SPEC },                    \
  { "link_os_sim",              LINK_OS_SIM_SPEC },                     \
  { "link_os_sim",              LINK_OS_SIM_SPEC },                     \
  { "link_os_freebsd",          LINK_OS_FREEBSD_SPEC },                 \
  { "link_os_freebsd",          LINK_OS_FREEBSD_SPEC },                 \
  { "link_os_linux",            LINK_OS_LINUX_SPEC },                   \
  { "link_os_linux",            LINK_OS_LINUX_SPEC },                   \
  { "link_os_gnu",              LINK_OS_GNU_SPEC },                     \
  { "link_os_gnu",              LINK_OS_GNU_SPEC },                     \
  { "link_os_netbsd",           LINK_OS_NETBSD_SPEC },                  \
  { "link_os_netbsd",           LINK_OS_NETBSD_SPEC },                  \
  { "link_os_openbsd",          LINK_OS_OPENBSD_SPEC },                 \
  { "link_os_openbsd",          LINK_OS_OPENBSD_SPEC },                 \
  { "link_os_default",          LINK_OS_DEFAULT_SPEC },                 \
  { "link_os_default",          LINK_OS_DEFAULT_SPEC },                 \
  { "cc1_endian_big",           CC1_ENDIAN_BIG_SPEC },                  \
  { "cc1_endian_big",           CC1_ENDIAN_BIG_SPEC },                  \
  { "cc1_endian_little",        CC1_ENDIAN_LITTLE_SPEC },               \
  { "cc1_endian_little",        CC1_ENDIAN_LITTLE_SPEC },               \
  { "cc1_endian_default",       CC1_ENDIAN_DEFAULT_SPEC },              \
  { "cc1_endian_default",       CC1_ENDIAN_DEFAULT_SPEC },              \
  { "cc1_secure_plt_default",   CC1_SECURE_PLT_DEFAULT_SPEC },          \
  { "cc1_secure_plt_default",   CC1_SECURE_PLT_DEFAULT_SPEC },          \
  { "cpp_os_ads",               CPP_OS_ADS_SPEC },                      \
  { "cpp_os_ads",               CPP_OS_ADS_SPEC },                      \
  { "cpp_os_yellowknife",       CPP_OS_YELLOWKNIFE_SPEC },              \
  { "cpp_os_yellowknife",       CPP_OS_YELLOWKNIFE_SPEC },              \
  { "cpp_os_mvme",              CPP_OS_MVME_SPEC },                     \
  { "cpp_os_mvme",              CPP_OS_MVME_SPEC },                     \
  { "cpp_os_sim",               CPP_OS_SIM_SPEC },                      \
  { "cpp_os_sim",               CPP_OS_SIM_SPEC },                      \
  { "cpp_os_freebsd",           CPP_OS_FREEBSD_SPEC },                  \
  { "cpp_os_freebsd",           CPP_OS_FREEBSD_SPEC },                  \
  { "cpp_os_gnu",               CPP_OS_GNU_SPEC },                      \
  { "cpp_os_gnu",               CPP_OS_GNU_SPEC },                      \
  { "cpp_os_linux",             CPP_OS_LINUX_SPEC },                    \
  { "cpp_os_linux",             CPP_OS_LINUX_SPEC },                    \
  { "cpp_os_netbsd",            CPP_OS_NETBSD_SPEC },                   \
  { "cpp_os_netbsd",            CPP_OS_NETBSD_SPEC },                   \
  { "cpp_os_openbsd",           CPP_OS_OPENBSD_SPEC },                  \
  { "cpp_os_openbsd",           CPP_OS_OPENBSD_SPEC },                  \
  { "cpp_os_default",           CPP_OS_DEFAULT_SPEC },                  \
  { "cpp_os_default",           CPP_OS_DEFAULT_SPEC },                  \
  { "fbsd_dynamic_linker",      FBSD_DYNAMIC_LINKER },                  \
  { "fbsd_dynamic_linker",      FBSD_DYNAMIC_LINKER },                  \
  SUBSUBTARGET_EXTRA_SPECS
  SUBSUBTARGET_EXTRA_SPECS
 
 
#define SUBSUBTARGET_EXTRA_SPECS
#define SUBSUBTARGET_EXTRA_SPECS
 
 
/* Define this macro as a C expression for the initializer of an
/* Define this macro as a C expression for the initializer of an
   array of string to tell the driver program which options are
   array of string to tell the driver program which options are
   defaults for this target and thus do not need to be handled
   defaults for this target and thus do not need to be handled
   specially when using `MULTILIB_OPTIONS'.
   specially when using `MULTILIB_OPTIONS'.
 
 
   Do not define this macro if `MULTILIB_OPTIONS' is not defined in
   Do not define this macro if `MULTILIB_OPTIONS' is not defined in
   the target makefile fragment or if none of the options listed in
   the target makefile fragment or if none of the options listed in
   `MULTILIB_OPTIONS' are set by default.  *Note Target Fragment::.  */
   `MULTILIB_OPTIONS' are set by default.  *Note Target Fragment::.  */
 
 
#define MULTILIB_DEFAULTS { "mbig", "mcall-sysv" }
#define MULTILIB_DEFAULTS { "mbig", "mcall-sysv" }
 
 
/* Define this macro if the code for function profiling should come
/* Define this macro if the code for function profiling should come
   before the function prologue.  Normally, the profiling code comes
   before the function prologue.  Normally, the profiling code comes
   after.  */
   after.  */
#define PROFILE_BEFORE_PROLOGUE 1
#define PROFILE_BEFORE_PROLOGUE 1
 
 
/* Function name to call to do profiling.  */
/* Function name to call to do profiling.  */
#define RS6000_MCOUNT "_mcount"
#define RS6000_MCOUNT "_mcount"
 
 
/* Define this macro (to a value of 1) if you want to support the
/* Define this macro (to a value of 1) if you want to support the
   Win32 style pragmas #pragma pack(push,<n>)' and #pragma
   Win32 style pragmas #pragma pack(push,<n>)' and #pragma
   pack(pop)'.  The pack(push,<n>) pragma specifies the maximum
   pack(pop)'.  The pack(push,<n>) pragma specifies the maximum
   alignment (in bytes) of fields within a structure, in much the
   alignment (in bytes) of fields within a structure, in much the
   same way as the __aligned__' and __packed__' __attribute__'s
   same way as the __aligned__' and __packed__' __attribute__'s
   do.  A pack value of zero resets the behavior to the default.
   do.  A pack value of zero resets the behavior to the default.
   Successive invocations of this pragma cause the previous values to
   Successive invocations of this pragma cause the previous values to
   be stacked, so that invocations of #pragma pack(pop)' will return
   be stacked, so that invocations of #pragma pack(pop)' will return
   to the previous value.  */
   to the previous value.  */
 
 
#define HANDLE_PRAGMA_PACK_PUSH_POP 1
#define HANDLE_PRAGMA_PACK_PUSH_POP 1
 
 
/* Select a format to encode pointers in exception handling data.  CODE
/* Select a format to encode pointers in exception handling data.  CODE
   is 0 for data, 1 for code labels, 2 for function pointers.  GLOBAL is
   is 0 for data, 1 for code labels, 2 for function pointers.  GLOBAL is
   true if the symbol may be affected by dynamic relocations.  */
   true if the symbol may be affected by dynamic relocations.  */
#define ASM_PREFERRED_EH_DATA_FORMAT(CODE,GLOBAL)                            \
#define ASM_PREFERRED_EH_DATA_FORMAT(CODE,GLOBAL)                            \
  ((flag_pic || TARGET_RELOCATABLE)                                          \
  ((flag_pic || TARGET_RELOCATABLE)                                          \
   ? (((GLOBAL) ? DW_EH_PE_indirect : 0) | DW_EH_PE_pcrel | DW_EH_PE_sdata4) \
   ? (((GLOBAL) ? DW_EH_PE_indirect : 0) | DW_EH_PE_pcrel | DW_EH_PE_sdata4) \
   : DW_EH_PE_absptr)
   : DW_EH_PE_absptr)
 
 
#define DOUBLE_INT_ASM_OP "\t.quad\t"
#define DOUBLE_INT_ASM_OP "\t.quad\t"
 
 
/* Generate entries in .fixup for relocatable addresses.  */
/* Generate entries in .fixup for relocatable addresses.  */
#define RELOCATABLE_NEEDS_FIXUP 1
#define RELOCATABLE_NEEDS_FIXUP 1
 
 
/* This target uses the sysv4.opt file.  */
/* This target uses the sysv4.opt file.  */
#define TARGET_USES_SYSV4_OPT 1
#define TARGET_USES_SYSV4_OPT 1
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.