freebsd.h (LINK_SPEC): Don't use %{!dynamic-linker:}.
* config/alpha/freebsd.h (LINK_SPEC): Don't use %{!dynamic-linker:}. * config/alpha/linux-elf.h (LINK_SPEC): Likewise. * config/arm/freebsd.h (LINK_SPEC): Likewise. * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Likewise. * config/bfin/linux.h (LINK_SPEC): Likewise. * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Likewise. * config/frv/linux.h (LINK_SPEC): Likewise. * config/i386/freebsd.h (LINK_SPEC): Likewise. * config/i386/freebsd64.h (LINK_SPEC): Likewise. * config/i386/linux.h (LINK_SPEC): Likewise. * config/i386/linux64.h (LINK_SPEC): Likewise. * config/i386/openbsdelf.h (LINK_SPEC): Likewise. * config/ia64/freebsd.h (LINK_SPEC): Likewise. * config/ia64/linux.h (LINK_SPEC): Likewise. * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise. * config/m32r/linux.h (LINK_SPEC): Likewise. * config/m68k/linux.h (LINK_SPEC): Likewise. * config/microblaze/linux.h (LINK_SPEC): Likewise. * config/mips/linux.h (LINK_SPEC): Likewise. * config/mips/linux64.h (LINK_SPEC): Likewise. * config/mips/openbsd.h (LINK_SPEC): Likewise. * config/mn10300/linux.h (LINK_SPEC): Likewise. * config/netbsd-elf.h (LINK_SPEC): Likewise. * config/pa/pa-linux.h (LINK_SPEC): Likewise. * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC32, LINK_OS_LINUX_SPEC64): Likewise. * config/rs6000/sysv4.h (LINK_OS_FREEBSD_SPEC, LINK_OS_LINUX_SPEC, LINK_OS_GNU_SPEC, LINK_OS_NETBSD_SPEC): Likewise. * config/s390/linux.h (LINK_SPEC): Likewise. * config/sh/linux.h (SUBTARGET_LINK_SPEC): Likewise. * config/sparc/freebsd.h (LINK_SPEC): Likewise. * config/sparc/linux.h (LINK_SPEC): Likewise. * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC, LINK_SPEC): Likewise. * config/sparc/openbsd64.h (LINK_SPEC): Likewise. * config/vax/linux.h (LINK_SPEC): Likewise. * config/xtensa/linux.h (LINK_SPEC): Likewise. From-SVN: r167634
This commit is contained in:
parent
51769cc040
commit
e59dabd237
|
@ -1,3 +1,45 @@
|
||||||
|
2010-12-09 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* config/alpha/freebsd.h (LINK_SPEC): Don't use
|
||||||
|
%{!dynamic-linker:}.
|
||||||
|
* config/alpha/linux-elf.h (LINK_SPEC): Likewise.
|
||||||
|
* config/arm/freebsd.h (LINK_SPEC): Likewise.
|
||||||
|
* config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Likewise.
|
||||||
|
* config/bfin/linux.h (LINK_SPEC): Likewise.
|
||||||
|
* config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Likewise.
|
||||||
|
* config/frv/linux.h (LINK_SPEC): Likewise.
|
||||||
|
* config/i386/freebsd.h (LINK_SPEC): Likewise.
|
||||||
|
* config/i386/freebsd64.h (LINK_SPEC): Likewise.
|
||||||
|
* config/i386/linux.h (LINK_SPEC): Likewise.
|
||||||
|
* config/i386/linux64.h (LINK_SPEC): Likewise.
|
||||||
|
* config/i386/openbsdelf.h (LINK_SPEC): Likewise.
|
||||||
|
* config/ia64/freebsd.h (LINK_SPEC): Likewise.
|
||||||
|
* config/ia64/linux.h (LINK_SPEC): Likewise.
|
||||||
|
* config/lm32/uclinux-elf.h (LINK_SPEC): Likewise.
|
||||||
|
* config/m32r/linux.h (LINK_SPEC): Likewise.
|
||||||
|
* config/m68k/linux.h (LINK_SPEC): Likewise.
|
||||||
|
* config/microblaze/linux.h (LINK_SPEC): Likewise.
|
||||||
|
* config/mips/linux.h (LINK_SPEC): Likewise.
|
||||||
|
* config/mips/linux64.h (LINK_SPEC): Likewise.
|
||||||
|
* config/mips/openbsd.h (LINK_SPEC): Likewise.
|
||||||
|
* config/mn10300/linux.h (LINK_SPEC): Likewise.
|
||||||
|
* config/netbsd-elf.h (LINK_SPEC): Likewise.
|
||||||
|
* config/pa/pa-linux.h (LINK_SPEC): Likewise.
|
||||||
|
* config/rs6000/linux64.h (LINK_OS_LINUX_SPEC32,
|
||||||
|
LINK_OS_LINUX_SPEC64): Likewise.
|
||||||
|
* config/rs6000/sysv4.h (LINK_OS_FREEBSD_SPEC,
|
||||||
|
LINK_OS_LINUX_SPEC, LINK_OS_GNU_SPEC, LINK_OS_NETBSD_SPEC):
|
||||||
|
Likewise.
|
||||||
|
* config/s390/linux.h (LINK_SPEC): Likewise.
|
||||||
|
* config/sh/linux.h (SUBTARGET_LINK_SPEC): Likewise.
|
||||||
|
* config/sparc/freebsd.h (LINK_SPEC): Likewise.
|
||||||
|
* config/sparc/linux.h (LINK_SPEC): Likewise.
|
||||||
|
* config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC,
|
||||||
|
LINK_SPEC): Likewise.
|
||||||
|
* config/sparc/openbsd64.h (LINK_SPEC): Likewise.
|
||||||
|
* config/vax/linux.h (LINK_SPEC): Likewise.
|
||||||
|
* config/xtensa/linux.h (LINK_SPEC): Likewise.
|
||||||
|
|
||||||
2010-12-09 Joseph Myers <joseph@codesourcery.com>
|
2010-12-09 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* config/bfin/bfin.h (ASM_SPEC): Remove %{n} and %{T}.
|
* config/bfin/bfin.h (ASM_SPEC): Remove %{n} and %{T}.
|
||||||
|
|
|
@ -37,7 +37,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
%{!shared: \
|
%{!shared: \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker %(fbsd_dynamic_linker) }} \
|
-dynamic-linker %(fbsd_dynamic_linker) } \
|
||||||
%{static:-Bstatic}} \
|
%{static:-Bstatic}} \
|
||||||
%{symbolic:-Bsymbolic}"
|
%{symbolic:-Bsymbolic}"
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* Definitions of target machine for GNU compiler
|
/* Definitions of target machine for GNU compiler
|
||||||
for Alpha Linux-based GNU systems using ELF.
|
for Alpha Linux-based GNU systems using ELF.
|
||||||
Copyright (C) 1996, 1997, 1998, 2001, 2002, 2003, 2006, 2007
|
Copyright (C) 1996, 1997, 1998, 2001, 2002, 2003, 2006, 2007, 2010
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
Contributed by Richard Henderson.
|
Contributed by Richard Henderson.
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
%{!shared: \
|
%{!shared: \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker %(elf_dynamic_linker)}} \
|
-dynamic-linker %(elf_dynamic_linker)} \
|
||||||
%{static:-static}}"
|
%{static:-static}}"
|
||||||
|
|
||||||
#undef LIB_SPEC
|
#undef LIB_SPEC
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
%{!shared: \
|
%{!shared: \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker %(fbsd_dynamic_linker) }} \
|
-dynamic-linker %(fbsd_dynamic_linker) } \
|
||||||
%{static:-Bstatic}} \
|
%{static:-Bstatic}} \
|
||||||
%{symbolic:-Bsymbolic}"
|
%{symbolic:-Bsymbolic}"
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* Definitions for ARM running Linux-based GNU systems using ELF
|
/* Definitions for ARM running Linux-based GNU systems using ELF
|
||||||
Copyright (C) 1993, 1994, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
Copyright (C) 1993, 1994, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
||||||
2005, 2006, 2007, 2008
|
2005, 2006, 2007, 2008, 2009, 2010
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
Contributed by Philip Blundell <philb@gnu.org>
|
Contributed by Philip Blundell <philb@gnu.org>
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@
|
||||||
%{shared:-shared} \
|
%{shared:-shared} \
|
||||||
%{symbolic:-Bsymbolic} \
|
%{symbolic:-Bsymbolic} \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "} \
|
-dynamic-linker " LINUX_DYNAMIC_LINKER " \
|
||||||
-X \
|
-X \
|
||||||
%{mbig-endian:-EB} %{mlittle-endian:-EL}" \
|
%{mbig-endian:-EB} %{mlittle-endian:-EL}" \
|
||||||
SUBTARGET_EXTRA_LINK_SPEC
|
SUBTARGET_EXTRA_LINK_SPEC
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 2007, 2008 Free Software Foundation, Inc.
|
/* Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GCC.
|
This file is part of GCC.
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||||
%{shared:-G -Bdynamic} \
|
%{shared:-G -Bdynamic} \
|
||||||
%{!shared: %{!static: \
|
%{!shared: %{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker /lib/ld-uClibc.so.0}} \
|
-dynamic-linker /lib/ld-uClibc.so.0} \
|
||||||
%{static}} -init __init -fini __fini"
|
%{static}} -init __init -fini __fini"
|
||||||
|
|
||||||
#define MD_UNWIND_SUPPORT "config/bfin/linux-unwind.h"
|
#define MD_UNWIND_SUPPORT "config/bfin/linux-unwind.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Definitions for GCC. Part of the machine description for CRIS.
|
/* Definitions for GCC. Part of the machine description for CRIS.
|
||||||
Copyright (C) 2001, 2002, 2003, 2005, 2006, 2007, 2008
|
Copyright (C) 2001, 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
Contributed by Axis Communications. Written by Hans-Peter Nilsson.
|
Contributed by Axis Communications. Written by Hans-Peter Nilsson.
|
||||||
|
|
||||||
|
@ -116,7 +116,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
%{symbolic:-Bdynamic} %{shlib:-Bdynamic} %{static:-Bstatic}\
|
%{symbolic:-Bdynamic} %{shlib:-Bdynamic} %{static:-Bstatic}\
|
||||||
%{!shared:%{!static:\
|
%{!shared:%{!static:\
|
||||||
%{rdynamic:-export-dynamic}\
|
%{rdynamic:-export-dynamic}\
|
||||||
%{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "}}}\
|
-dynamic-linker " LINUX_DYNAMIC_LINKER "}}\
|
||||||
%{!r:%{O2|O3: --gc-sections}}"
|
%{!r:%{O2|O3: --gc-sections}}"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Target macros for the FRV Linux port of GCC.
|
/* Target macros for the FRV Linux port of GCC.
|
||||||
Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2006, 2007
|
Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2010
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
Contributed by Red Hat Inc.
|
Contributed by Red Hat Inc.
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
%{mfdpic: -m elf32frvfd -z text} %{shared} %{pie} \
|
%{mfdpic: -m elf32frvfd -z text} %{shared} %{pie} \
|
||||||
%{!shared: %{!static: \
|
%{!shared: %{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "}} \
|
-dynamic-linker " LINUX_DYNAMIC_LINKER "} \
|
||||||
%{static}}"
|
%{static}}"
|
||||||
|
|
||||||
/* Support for compile-time default CPU. */
|
/* Support for compile-time default CPU. */
|
||||||
|
|
|
@ -102,7 +102,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
%{!shared: \
|
%{!shared: \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker %(fbsd_dynamic_linker) }} \
|
-dynamic-linker %(fbsd_dynamic_linker) } \
|
||||||
%{static:-Bstatic}} \
|
%{static:-Bstatic}} \
|
||||||
%{symbolic:-Bsymbolic}"
|
%{symbolic:-Bsymbolic}"
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Definitions for AMD x86-64 running FreeBSD with ELF format
|
/* Definitions for AMD x86-64 running FreeBSD with ELF format
|
||||||
Copyright (C) 2002, 2004, 2007 Free Software Foundation, Inc.
|
Copyright (C) 2002, 2004, 2007, 2010 Free Software Foundation, Inc.
|
||||||
Contributed by David O'Brien <obrien@FreeBSD.org>
|
Contributed by David O'Brien <obrien@FreeBSD.org>
|
||||||
|
|
||||||
This file is part of GCC.
|
This file is part of GCC.
|
||||||
|
@ -38,6 +38,6 @@ along with GCC; see the file COPYING3. If not see
|
||||||
%{!shared: \
|
%{!shared: \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker %(fbsd_dynamic_linker) }} \
|
-dynamic-linker %(fbsd_dynamic_linker) } \
|
||||||
%{static:-Bstatic}} \
|
%{static:-Bstatic}} \
|
||||||
%{symbolic:-Bsymbolic}"
|
%{symbolic:-Bsymbolic}"
|
||||||
|
|
|
@ -109,7 +109,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
%{!ibcs: \
|
%{!ibcs: \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker %(dynamic_linker)}} \
|
-dynamic-linker %(dynamic_linker)} \
|
||||||
%{static:-static}}}"
|
%{static:-static}}}"
|
||||||
|
|
||||||
/* Similar to standard Linux, but adding -ffast-math support. */
|
/* Similar to standard Linux, but adding -ffast-math support. */
|
||||||
|
|
|
@ -80,8 +80,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||||
%{!shared: \
|
%{!shared: \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{" SPEC_32 ":%{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER32 "}} \
|
%{" SPEC_32 ":-dynamic-linker " LINUX_DYNAMIC_LINKER32 "} \
|
||||||
%{" SPEC_64 ":%{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER64 "}}} \
|
%{" SPEC_64 ":-dynamic-linker " LINUX_DYNAMIC_LINKER64 "}} \
|
||||||
%{static:-static}}"
|
%{static:-static}}"
|
||||||
|
|
||||||
/* Similar to standard Linux, but adding -ffast-math support. */
|
/* Similar to standard Linux, but adding -ffast-math support. */
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* Configuration for an OpenBSD i386 target.
|
/* Configuration for an OpenBSD i386 target.
|
||||||
|
|
||||||
Copyright (C) 2005, 2007 Free Software Foundation, Inc.
|
Copyright (C) 2005, 2007, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GCC.
|
This file is part of GCC.
|
||||||
|
|
||||||
|
@ -129,6 +129,6 @@ along with GCC; see the file COPYING3. If not see
|
||||||
%{static:-Bstatic} \
|
%{static:-Bstatic} \
|
||||||
%{!static:-Bdynamic} \
|
%{!static:-Bdynamic} \
|
||||||
%{assert*} \
|
%{assert*} \
|
||||||
%{!dynamic-linker:-dynamic-linker /usr/libexec/ld.so}"
|
-dynamic-linker /usr/libexec/ld.so"
|
||||||
|
|
||||||
#define OBSD_HAS_CORRECT_SPECS
|
#define OBSD_HAS_CORRECT_SPECS
|
||||||
|
|
|
@ -30,7 +30,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
%{!shared: \
|
%{!shared: \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker %(fbsd_dynamic_linker) }} \
|
-dynamic-linker %(fbsd_dynamic_linker) } \
|
||||||
%{static:-Bstatic}}"
|
%{static:-Bstatic}}"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* Definitions for ia64-linux target.
|
/* Definitions for ia64-linux target.
|
||||||
|
|
||||||
Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006,
|
Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006,
|
||||||
2009 Free Software Foundation, Inc.
|
2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GCC.
|
This file is part of GCC.
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ do { \
|
||||||
%{!shared: \
|
%{!shared: \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "}} \
|
-dynamic-linker " LINUX_DYNAMIC_LINKER "} \
|
||||||
%{static:-static}}"
|
%{static:-static}}"
|
||||||
|
|
||||||
#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
|
#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
|
||||||
|
|
|
@ -72,7 +72,7 @@
|
||||||
%{shared:-shared} \
|
%{shared:-shared} \
|
||||||
%{symbolic:-Bsymbolic} \
|
%{symbolic:-Bsymbolic} \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}"
|
-dynamic-linker /lib/ld-linux.so.2"
|
||||||
|
|
||||||
#define TARGET_OS_CPP_BUILTINS() LINUX_TARGET_OS_CPP_BUILTINS()
|
#define TARGET_OS_CPP_BUILTINS() LINUX_TARGET_OS_CPP_BUILTINS()
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
%{!ibcs: \
|
%{!ibcs: \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "}} \
|
-dynamic-linker " LINUX_DYNAMIC_LINKER "} \
|
||||||
%{static:-static}}}"
|
%{static:-static}}}"
|
||||||
#else
|
#else
|
||||||
#define LINK_SPEC "%(link_cpu) -m m32relf_linux %{shared:-shared} \
|
#define LINK_SPEC "%(link_cpu) -m m32relf_linux %{shared:-shared} \
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
%{!ibcs: \
|
%{!ibcs: \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "}} \
|
-dynamic-linker " LINUX_DYNAMIC_LINKER "} \
|
||||||
%{static:-static}}}"
|
%{static:-static}}}"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -83,7 +83,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
%{!shared: \
|
%{!shared: \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker*:-dynamic-linker " LINUX_DYNAMIC_LINKER "}} \
|
-dynamic-linker " LINUX_DYNAMIC_LINKER "} \
|
||||||
%{static}}"
|
%{static}}"
|
||||||
|
|
||||||
/* For compatibility with linux/a.out */
|
/* For compatibility with linux/a.out */
|
||||||
|
|
|
@ -30,6 +30,6 @@
|
||||||
%{!shared: \
|
%{!shared: \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker %(dynamic_linker)}} \
|
-dynamic-linker %(dynamic_linker)} \
|
||||||
%{static:-static}}"
|
%{static:-static}}"
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* Definitions for MIPS running Linux-based GNU systems with ELF format.
|
/* Definitions for MIPS running Linux-based GNU systems with ELF format.
|
||||||
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
|
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
|
||||||
2007, 2008 Free Software Foundation, Inc.
|
2007, 2008, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GCC.
|
This file is part of GCC.
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
%{!ibcs: \
|
%{!ibcs: \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "}} \
|
-dynamic-linker " LINUX_DYNAMIC_LINKER "} \
|
||||||
%{static:-static}}}"
|
%{static:-static}}}"
|
||||||
|
|
||||||
#undef SUBTARGET_ASM_SPEC
|
#undef SUBTARGET_ASM_SPEC
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* Definitions for MIPS running Linux-based GNU systems with ELF format
|
/* Definitions for MIPS running Linux-based GNU systems with ELF format
|
||||||
using n32/64 abi.
|
using n32/64 abi.
|
||||||
Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008
|
Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2010
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GCC.
|
This file is part of GCC.
|
||||||
|
@ -54,10 +54,9 @@ along with GCC; see the file COPYING3. If not see
|
||||||
%{!ibcs: \
|
%{!ibcs: \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker: \
|
%{mabi=n32: -dynamic-linker " LINUX_DYNAMIC_LINKERN32 "} \
|
||||||
%{mabi=n32: -dynamic-linker " LINUX_DYNAMIC_LINKERN32 "} \
|
%{mabi=64: -dynamic-linker " LINUX_DYNAMIC_LINKER64 "} \
|
||||||
%{mabi=64: -dynamic-linker " LINUX_DYNAMIC_LINKER64 "} \
|
%{mabi=32: -dynamic-linker " LINUX_DYNAMIC_LINKER32 "}} \
|
||||||
%{mabi=32: -dynamic-linker " LINUX_DYNAMIC_LINKER32 "}}} \
|
|
||||||
%{static:-static}}} \
|
%{static:-static}}} \
|
||||||
%{mabi=n32:-melf32%{EB:b}%{EL:l}tsmipn32} \
|
%{mabi=n32:-melf32%{EB:b}%{EL:l}tsmipn32} \
|
||||||
%{mabi=64:-melf64%{EB:b}%{EL:l}tsmip} \
|
%{mabi=64:-melf64%{EB:b}%{EL:l}tsmip} \
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
/* Configuration for a MIPS ABI32 OpenBSD target.
|
/* Configuration for a MIPS ABI32 OpenBSD target.
|
||||||
Copyright (C) 1999, 2003, 2004, 2007, 2008 Free Software Foundation, Inc.
|
Copyright (C) 1999, 2003, 2004, 2007, 2008, 2009, 2010
|
||||||
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GCC.
|
This file is part of GCC.
|
||||||
|
|
||||||
|
@ -81,7 +82,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
%{bestGnum} %{shared} %{non_shared} \
|
%{bestGnum} %{shared} %{non_shared} \
|
||||||
%{call_shared} %{no_archive} %{exact_version} \
|
%{call_shared} %{no_archive} %{exact_version} \
|
||||||
%{!shared: %{!non_shared: %{!call_shared: -non_shared}}} \
|
%{!shared: %{!non_shared: %{!call_shared: -non_shared}}} \
|
||||||
%{!dynamic-linker:-dynamic-linker /usr/libexec/ld.so} \
|
-dynamic-linker /usr/libexec/ld.so \
|
||||||
%{!nostdlib:%{!r*:%{!e*:-e __start}}} -dc -dp \
|
%{!nostdlib:%{!r*:%{!e*:-e __start}}} -dc -dp \
|
||||||
%{static:-Bstatic} %{!static:-Bdynamic} %{assert*}"
|
%{static:-Bstatic} %{!static:-Bdynamic} %{assert*}"
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
#define LINK_SPEC "%{mrelax:--relax} %{shared:-shared} \
|
#define LINK_SPEC "%{mrelax:--relax} %{shared:-shared} \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "}} \
|
-dynamic-linker " LINUX_DYNAMIC_LINKER "} \
|
||||||
%{static:-static}"
|
%{static:-static}"
|
||||||
|
|
||||||
#undef PROCESSOR_DEFAULT
|
#undef PROCESSOR_DEFAULT
|
||||||
|
|
|
@ -77,7 +77,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
%{!e*:-e %(netbsd_entry_point)}}} \
|
%{!e*:-e %(netbsd_entry_point)}}} \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker /usr/libexec/ld.elf_so}} \
|
-dynamic-linker /usr/libexec/ld.elf_so} \
|
||||||
%{static:-static}}"
|
%{static:-static}}"
|
||||||
|
|
||||||
/* Use --as-needed -lgcc_s for eh support. */
|
/* Use --as-needed -lgcc_s for eh support. */
|
||||||
|
|
|
@ -46,7 +46,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
%{!shared: \
|
%{!shared: \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "}} \
|
-dynamic-linker " LINUX_DYNAMIC_LINKER "} \
|
||||||
%{static:-static}}"
|
%{static:-static}}"
|
||||||
|
|
||||||
/* glibc's profiling functions don't need gcc to allocate counters. */
|
/* glibc's profiling functions don't need gcc to allocate counters. */
|
||||||
|
|
|
@ -392,11 +392,11 @@ extern int dot_symbols;
|
||||||
|
|
||||||
#define LINK_OS_LINUX_SPEC32 "-m elf32ppclinux %{!shared: %{!static: \
|
#define LINK_OS_LINUX_SPEC32 "-m elf32ppclinux %{!shared: %{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER32 "}}}"
|
-dynamic-linker " LINUX_DYNAMIC_LINKER32 "}}"
|
||||||
|
|
||||||
#define LINK_OS_LINUX_SPEC64 "-m elf64ppc %{!shared: %{!static: \
|
#define LINK_OS_LINUX_SPEC64 "-m elf64ppc %{!shared: %{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER64 "}}}"
|
-dynamic-linker " LINUX_DYNAMIC_LINKER64 "}}"
|
||||||
|
|
||||||
#undef TOC_SECTION_ASM_OP
|
#undef TOC_SECTION_ASM_OP
|
||||||
#define TOC_SECTION_ASM_OP \
|
#define TOC_SECTION_ASM_OP \
|
||||||
|
|
|
@ -834,7 +834,7 @@ SVR4_ASM_SPEC \
|
||||||
%{!shared: \
|
%{!shared: \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic: -export-dynamic} \
|
%{rdynamic: -export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker %(fbsd_dynamic_linker) }} \
|
-dynamic-linker %(fbsd_dynamic_linker) } \
|
||||||
%{static:-Bstatic}} \
|
%{static:-Bstatic}} \
|
||||||
%{symbolic:-Bsymbolic}"
|
%{symbolic:-Bsymbolic}"
|
||||||
|
|
||||||
|
@ -875,7 +875,7 @@ SVR4_ASM_SPEC \
|
||||||
|
|
||||||
#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 " 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} "
|
||||||
|
@ -906,7 +906,7 @@ SVR4_ASM_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 /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: \
|
||||||
|
@ -931,7 +931,7 @@ ncrtn.o%s"
|
||||||
#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 /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__"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Definitions for Linux for S/390.
|
/* Definitions for Linux for S/390.
|
||||||
Copyright (C) 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007
|
Copyright (C) 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2010
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
Contributed by Hartmut Penner (hpenner@de.ibm.com) and
|
Contributed by Hartmut Penner (hpenner@de.ibm.com) and
|
||||||
Ulrich Weigand (uweigand@de.ibm.com).
|
Ulrich Weigand (uweigand@de.ibm.com).
|
||||||
|
@ -83,9 +83,8 @@ along with GCC; see the file COPYING3. If not see
|
||||||
%{static:-static} \
|
%{static:-static} \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker: \
|
%{m31:-dynamic-linker " LINUX_DYNAMIC_LINKER32 "} \
|
||||||
%{m31:-dynamic-linker " LINUX_DYNAMIC_LINKER32 "} \
|
%{m64:-dynamic-linker " LINUX_DYNAMIC_LINKER64 "}}}"
|
||||||
%{m64:-dynamic-linker " LINUX_DYNAMIC_LINKER64 "}}}}"
|
|
||||||
|
|
||||||
#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
|
#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Definitions for SH running Linux-based GNU systems using ELF
|
/* Definitions for SH running Linux-based GNU systems using ELF
|
||||||
Copyright (C) 1999, 2000, 2002, 2003, 2004, 2005, 2006, 2007
|
Copyright (C) 1999, 2000, 2002, 2003, 2004, 2005, 2006, 2007, 2010
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
Contributed by Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
|
Contributed by Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
"%{shared:-shared} \
|
"%{shared:-shared} \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "}} \
|
-dynamic-linker " LINUX_DYNAMIC_LINKER "} \
|
||||||
%{static:-static}"
|
%{static:-static}"
|
||||||
|
|
||||||
/* Output assembler code to STREAM to call the profiler. */
|
/* Output assembler code to STREAM to call the profiler. */
|
||||||
|
|
|
@ -39,7 +39,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
%{!shared: \
|
%{!shared: \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker %(fbsd_dynamic_linker) }} \
|
-dynamic-linker %(fbsd_dynamic_linker) } \
|
||||||
%{static:-Bstatic}}"
|
%{static:-Bstatic}}"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -84,7 +84,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
%{!ibcs: \
|
%{!ibcs: \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "}} \
|
-dynamic-linker " LINUX_DYNAMIC_LINKER "} \
|
||||||
%{static:-static}}}"
|
%{static:-static}}}"
|
||||||
|
|
||||||
/* The sun bundled assembler doesn't accept -Yd, (and neither does gas).
|
/* The sun bundled assembler doesn't accept -Yd, (and neither does gas).
|
||||||
|
|
|
@ -118,7 +118,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
%{!ibcs: \
|
%{!ibcs: \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER32 "}} \
|
-dynamic-linker " LINUX_DYNAMIC_LINKER32 "} \
|
||||||
%{static:-static}}} \
|
%{static:-static}}} \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
@ -127,7 +127,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
%{!ibcs: \
|
%{!ibcs: \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER64 "}} \
|
-dynamic-linker " LINUX_DYNAMIC_LINKER64 "} \
|
||||||
%{static:-static}}} \
|
%{static:-static}}} \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
@ -208,7 +208,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
%{!ibcs: \
|
%{!ibcs: \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER64 "}} \
|
-dynamic-linker " LINUX_DYNAMIC_LINKER64 "} \
|
||||||
%{static:-static}}} \
|
%{static:-static}}} \
|
||||||
%{mlittle-endian:-EL} \
|
%{mlittle-endian:-EL} \
|
||||||
%{!mno-relax:%{!r:-relax}} \
|
%{!mno-relax:%{!r:-relax}} \
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Configuration file for sparc64 OpenBSD target.
|
/* Configuration file for sparc64 OpenBSD target.
|
||||||
Copyright (C) 1999, 2005, 2007 Free Software Foundation, Inc.
|
Copyright (C) 1999, 2005, 2007, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GCC.
|
This file is part of GCC.
|
||||||
|
|
||||||
|
@ -77,7 +77,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
%{static:-Bstatic} \
|
%{static:-Bstatic} \
|
||||||
%{!static:-Bdynamic} \
|
%{!static:-Bdynamic} \
|
||||||
%{assert*} \
|
%{assert*} \
|
||||||
%{!dynamic-linker:-dynamic-linker /usr/libexec/ld.so}"
|
-dynamic-linker /usr/libexec/ld.so"
|
||||||
|
|
||||||
/* As an elf system, we need crtbegin/crtend stuff. */
|
/* As an elf system, we need crtbegin/crtend stuff. */
|
||||||
#undef STARTFILE_SPEC
|
#undef STARTFILE_SPEC
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Definitions for VAX running Linux-based GNU systems with ELF format.
|
/* Definitions for VAX running Linux-based GNU systems with ELF format.
|
||||||
Copyright (C) 2007, 2009 Free Software Foundation, Inc.
|
Copyright (C) 2007, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GCC.
|
This file is part of GCC.
|
||||||
|
|
||||||
|
@ -44,5 +44,5 @@ along with GCC; see the file COPYING3. If not see
|
||||||
%{!shared: \
|
%{!shared: \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker /lib/ld.so.1}} \
|
-dynamic-linker /lib/ld.so.1} \
|
||||||
%{static:-static}}"
|
%{static:-static}}"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* Xtensa Linux configuration.
|
/* Xtensa Linux configuration.
|
||||||
Derived from the configuration for GCC for Intel i386 running Linux.
|
Derived from the configuration for GCC for Intel i386 running Linux.
|
||||||
Copyright (C) 2001, 2002, 2003, 2006, 2007, 2008
|
Copyright (C) 2001, 2002, 2003, 2006, 2007, 2008, 2010
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GCC.
|
This file is part of GCC.
|
||||||
|
@ -52,7 +52,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
%{!ibcs: \
|
%{!ibcs: \
|
||||||
%{!static: \
|
%{!static: \
|
||||||
%{rdynamic:-export-dynamic} \
|
%{rdynamic:-export-dynamic} \
|
||||||
%{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "}} \
|
-dynamic-linker " LINUX_DYNAMIC_LINKER "} \
|
||||||
%{static:-static}}}"
|
%{static:-static}}}"
|
||||||
|
|
||||||
#undef LOCAL_LABEL_PREFIX
|
#undef LOCAL_LABEL_PREFIX
|
||||||
|
|
Loading…
Reference in New Issue