Commit dabadc52 by Joseph Myers Committed by Joseph Myers

linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional.

	* config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional.
	* config/m32r/linux.h (LINK_SPEC): Likewise.
	* config/mips/linux.h (LINK_SPEC): Likewise.
	* config/mips/linux64.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/xtensa/linux.h (LINK_SPEC): Likewise.

From-SVN: r168802
parent 43ee6785
2011-01-14 Joseph Myers <joseph@codesourcery.com> 2011-01-14 Joseph Myers <joseph@codesourcery.com>
* config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional.
* config/m32r/linux.h (LINK_SPEC): Likewise.
* config/mips/linux.h (LINK_SPEC): Likewise.
* config/mips/linux64.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/xtensa/linux.h (LINK_SPEC): Likewise.
2011-01-14 Joseph Myers <joseph@codesourcery.com>
* config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove
%{version:-v}. %{version:-v}.
* config/lm32/uclinux-elf.h (LINK_SPEC): Likewise. * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise.
......
/* Definitions for Intel 386 running Linux-based GNU systems with ELF format. /* Definitions for Intel 386 running Linux-based GNU systems with ELF format.
Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2004, 2005, Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2004, 2005,
2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
Contributed by Eric Youngdale. Contributed by Eric Youngdale.
Modified for stabs-in-ELF by H.J. Lu. Modified for stabs-in-ELF by H.J. Lu.
...@@ -106,11 +106,10 @@ along with GCC; see the file COPYING3. If not see ...@@ -106,11 +106,10 @@ along with GCC; see the file COPYING3. If not see
#undef LINK_SPEC #undef LINK_SPEC
#define LINK_SPEC "-m %(link_emulation) %{shared:-shared} \ #define LINK_SPEC "-m %(link_emulation) %{shared:-shared} \
%{!shared: \ %{!shared: \
%{!ibcs: \ %{!static: \
%{!static: \ %{rdynamic:-export-dynamic} \
%{rdynamic:-export-dynamic} \ -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. */
#undef ENDFILE_SPEC #undef ENDFILE_SPEC
......
/* Definitions for Renesas M32R running Linux-based GNU systems using ELF. /* Definitions for Renesas M32R running Linux-based GNU systems using ELF.
Copyright (C) 2003, 2004, 2006, 2007, 2010 Free Software Foundation, Inc. Copyright (C) 2003, 2004, 2006, 2007, 2010, 2011
Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -52,19 +53,17 @@ ...@@ -52,19 +53,17 @@
#if TARGET_LITTLE_ENDIAN #if TARGET_LITTLE_ENDIAN
#define LINK_SPEC "%(link_cpu) -m m32rlelf_linux %{shared:-shared} \ #define LINK_SPEC "%(link_cpu) -m m32rlelf_linux %{shared:-shared} \
%{!shared: \ %{!shared: \
%{!ibcs: \ %{!static: \
%{!static: \ %{rdynamic:-export-dynamic} \
%{rdynamic:-export-dynamic} \ -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} \
%{!shared: \ %{!shared: \
%{!ibcs: \ %{!static: \
%{!static: \ %{rdynamic:-export-dynamic} \
%{rdynamic:-export-dynamic} \ -dynamic-linker " LINUX_DYNAMIC_LINKER "} \
-dynamic-linker " LINUX_DYNAMIC_LINKER "} \ %{static:-static}}"
%{static:-static}}}"
#endif #endif
#undef LIB_SPEC #undef LIB_SPEC
......
/* 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, 2010 Free Software Foundation, Inc. 2007, 2008, 2010, 2011 Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -69,11 +69,10 @@ along with GCC; see the file COPYING3. If not see ...@@ -69,11 +69,10 @@ along with GCC; see the file COPYING3. If not see
"%(endian_spec) \ "%(endian_spec) \
%{shared:-shared} \ %{shared:-shared} \
%{!shared: \ %{!shared: \
%{!ibcs: \ %{!static: \
%{!static: \ %{rdynamic:-export-dynamic} \
%{rdynamic:-export-dynamic} \ -dynamic-linker " LINUX_DYNAMIC_LINKER "} \
-dynamic-linker " LINUX_DYNAMIC_LINKER "} \ %{static:-static}}"
%{static:-static}}}"
#undef SUBTARGET_ASM_SPEC #undef SUBTARGET_ASM_SPEC
#define SUBTARGET_ASM_SPEC \ #define SUBTARGET_ASM_SPEC \
......
/* 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, 2010 Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2010, 2011
Free Software Foundation, Inc. Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -51,13 +51,12 @@ along with GCC; see the file COPYING3. If not see ...@@ -51,13 +51,12 @@ along with GCC; see the file COPYING3. If not see
%{call_shared} %{no_archive} %{exact_version} \ %{call_shared} %{no_archive} %{exact_version} \
%(endian_spec) \ %(endian_spec) \
%{!shared: \ %{!shared: \
%{!ibcs: \ %{!static: \
%{!static: \ %{rdynamic:-export-dynamic} \
%{rdynamic:-export-dynamic} \ %{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} \
%{mabi=32:-melf32%{EB:b}%{EL:l}tsmip}" %{mabi=32:-melf32%{EB:b}%{EL:l}tsmip}"
......
/* Definitions for SPARC running Linux-based GNU systems with ELF. /* Definitions for SPARC running Linux-based GNU systems with ELF.
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2002, 2003, 2004, 2005, 2006, Copyright (C) 1996, 1997, 1998, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
2007, 2008, 2009, 2010 Free Software Foundation, Inc. 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
Contributed by Eddie C. Dost (ecd@skynet.be) Contributed by Eddie C. Dost (ecd@skynet.be)
This file is part of GCC. This file is part of GCC.
...@@ -81,11 +81,10 @@ along with GCC; see the file COPYING3. If not see ...@@ -81,11 +81,10 @@ along with GCC; see the file COPYING3. If not see
#define LINK_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \ #define LINK_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \
%{!mno-relax:%{!r:-relax}} \ %{!mno-relax:%{!r:-relax}} \
%{!shared: \ %{!shared: \
%{!ibcs: \ %{!static: \
%{!static: \ %{rdynamic:-export-dynamic} \
%{rdynamic:-export-dynamic} \ -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).
It's safe to pass -s always, even if -g is not used. */ It's safe to pass -s always, even if -g is not used. */
......
/* Definitions for 64-bit SPARC running Linux-based GNU systems with ELF. /* Definitions for 64-bit SPARC running Linux-based GNU systems with ELF.
Copyright 1996, 1997, 1998, 2000, 2002, 2003, 2004, 2005, 2006, 2007, 2008, Copyright 1996, 1997, 1998, 2000, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
2009, 2010 Free Software Foundation, Inc. 2009, 2010, 2011 Free Software Foundation, Inc.
Contributed by David S. Miller (davem@caip.rutgers.edu) Contributed by David S. Miller (davem@caip.rutgers.edu)
This file is part of GCC. This file is part of GCC.
...@@ -115,20 +115,18 @@ along with GCC; see the file COPYING3. If not see ...@@ -115,20 +115,18 @@ along with GCC; see the file COPYING3. If not see
#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/usr/lib %{shared:-shared} \ #define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/usr/lib %{shared:-shared} \
%{!shared: \ %{!shared: \
%{!ibcs: \ %{!static: \
%{!static: \ %{rdynamic:-export-dynamic} \
%{rdynamic:-export-dynamic} \ -dynamic-linker " LINUX_DYNAMIC_LINKER32 "} \
-dynamic-linker " LINUX_DYNAMIC_LINKER32 "} \ %{static:-static}} \
%{static:-static}}} \
" "
#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \ #define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \
%{!shared: \ %{!shared: \
%{!ibcs: \ %{!static: \
%{!static: \ %{rdynamic:-export-dynamic} \
%{rdynamic:-export-dynamic} \ -dynamic-linker " LINUX_DYNAMIC_LINKER64 "} \
-dynamic-linker " LINUX_DYNAMIC_LINKER64 "} \ %{static:-static}} \
%{static:-static}}} \
" "
#define LINK_ARCH_SPEC "\ #define LINK_ARCH_SPEC "\
...@@ -205,11 +203,10 @@ along with GCC; see the file COPYING3. If not see ...@@ -205,11 +203,10 @@ along with GCC; see the file COPYING3. If not see
#undef LINK_SPEC #undef LINK_SPEC
#define LINK_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \ #define LINK_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \
%{!shared: \ %{!shared: \
%{!ibcs: \ %{!static: \
%{!static: \ %{rdynamic:-export-dynamic} \
%{rdynamic:-export-dynamic} \ -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}} \
" "
......
/* 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, 2010 Copyright (C) 2001, 2002, 2003, 2006, 2007, 2008, 2010, 2011
Free Software Foundation, Inc. Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -54,11 +54,10 @@ along with GCC; see the file COPYING3. If not see ...@@ -54,11 +54,10 @@ along with GCC; see the file COPYING3. If not see
#define LINK_SPEC \ #define LINK_SPEC \
"%{shared:-shared} \ "%{shared:-shared} \
%{!shared: \ %{!shared: \
%{!ibcs: \ %{!static: \
%{!static: \ %{rdynamic:-export-dynamic} \
%{rdynamic:-export-dynamic} \ -dynamic-linker " LINUX_DYNAMIC_LINKER "} \
-dynamic-linker " LINUX_DYNAMIC_LINKER "} \ %{static:-static}}"
%{static:-static}}}"
#undef LOCAL_LABEL_PREFIX #undef LOCAL_LABEL_PREFIX
#define LOCAL_LABEL_PREFIX "." #define LOCAL_LABEL_PREFIX "."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment