From cbabf03f9adf676894146561ba8bfeb7b7f15912 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 14 Jan 2011 18:56:52 +0000 Subject: linux64.h (LINK_SPEC): Remove %{bestGnum} %{no_archive} %{exact_version}. * config/mips/linux64.h (LINK_SPEC): Remove %{bestGnum} %{no_archive} %{exact_version}. * config/mips/mips.h (LINK_SPEC): Remove %{bestGnum}. * config/mips/netbsd.h (LINK_SPEC): Remove %{bestGnum} %{no_archive} %{exact_version}. * config/mips/openbsd.h (LINK_SPEC): Likewise. * config/mips/sde.h (LINK_SPEC): Remove %{bestGnum}. * config/mips/vxworks.h: Likewise. From-SVN: r168813 --- gcc/ChangeLog | 11 +++++++++++ gcc/config/mips/linux64.h | 4 ++-- gcc/config/mips/mips.h | 4 +--- gcc/config/mips/netbsd.h | 4 ++-- gcc/config/mips/openbsd.h | 6 +++--- gcc/config/mips/sde.h | 3 +-- gcc/config/mips/vxworks.h | 5 ++--- 7 files changed, 22 insertions(+), 15 deletions(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b06c322..d0c9abd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,16 @@ 2011-01-14 Joseph Myers + * config/mips/linux64.h (LINK_SPEC): Remove %{bestGnum} + %{no_archive} %{exact_version}. + * config/mips/mips.h (LINK_SPEC): Remove %{bestGnum}. + * config/mips/netbsd.h (LINK_SPEC): Remove %{bestGnum} + %{no_archive} %{exact_version}. + * config/mips/openbsd.h (LINK_SPEC): Likewise. + * config/mips/sde.h (LINK_SPEC): Remove %{bestGnum}. + * config/mips/vxworks.h: Likewise. + +2011-01-14 Joseph Myers + * config/microblaze/microblaze.h (ASM_SPEC): Remove %{microblaze1}. diff --git a/gcc/config/mips/linux64.h b/gcc/config/mips/linux64.h index 8d03569..0822c6d 100644 --- a/gcc/config/mips/linux64.h +++ b/gcc/config/mips/linux64.h @@ -47,8 +47,8 @@ along with GCC; see the file COPYING3. If not see #undef LINK_SPEC #define LINK_SPEC "\ %{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} %{mips4} \ -%{bestGnum} %{shared} %{non_shared} \ -%{call_shared} %{no_archive} %{exact_version} \ +%{shared} %{non_shared} \ +%{call_shared} \ %(endian_spec) \ %{!shared: \ %{!static: \ diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 7aa6bac..93b70ff 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -1145,14 +1145,12 @@ enum mips_code_readable_setting { %(subtarget_asm_spec)" /* Extra switches sometimes passed to the linker. */ -/* ??? The bestGnum will never be passed to the linker, because the gcc driver - will interpret it as a -b option. */ #ifndef LINK_SPEC #define LINK_SPEC "\ %(endian_spec) \ %{G*} %{mips1} %{mips2} %{mips3} %{mips4} %{mips32*} %{mips64*} \ -%{bestGnum} %{shared} %{non_shared}" +%{shared} %{non_shared}" #endif /* LINK_SPEC defined */ diff --git a/gcc/config/mips/netbsd.h b/gcc/config/mips/netbsd.h index b8f7e76..44ef20c 100644 --- a/gcc/config/mips/netbsd.h +++ b/gcc/config/mips/netbsd.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler, for MIPS NetBSD systems. Copyright (C) 1993, 1995, 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, - 2007, 2010 Free Software Foundation, Inc. + 2007, 2010, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -148,7 +148,7 @@ along with GCC; see the file COPYING3. If not see %{EB:-m elf32bmip} \ %(endian_spec) \ %{G*} %{mips1} %{mips2} %{mips3} %{mips4} %{mips32} %{mips32r2} %{mips64} \ - %{bestGnum} %{call_shared} %{no_archive} %{exact_version} \ + %{call_shared} \ %(netbsd_link_spec)" #define NETBSD_ENTRY_POINT "__start" diff --git a/gcc/config/mips/openbsd.h b/gcc/config/mips/openbsd.h index 4936131..e6fe265 100644 --- a/gcc/config/mips/openbsd.h +++ b/gcc/config/mips/openbsd.h @@ -1,5 +1,5 @@ /* Configuration for a MIPS ABI32 OpenBSD target. - Copyright (C) 1999, 2003, 2004, 2007, 2008, 2009, 2010 + Copyright (C) 1999, 2003, 2004, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -77,8 +77,8 @@ along with GCC; see the file COPYING3. If not see #undef LINK_SPEC #define LINK_SPEC \ "%{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} \ - %{bestGnum} %{shared} %{non_shared} \ - %{call_shared} %{no_archive} %{exact_version} \ + %{shared} %{non_shared} \ + %{call_shared} \ %{!shared: %{!non_shared: %{!call_shared: -non_shared}}} \ -dynamic-linker /usr/libexec/ld.so \ %{!nostdlib:%{!r:%{!e*:-e __start}}} -dc -dp \ diff --git a/gcc/config/mips/sde.h b/gcc/config/mips/sde.h index dfa40b9..6a5485d 100644 --- a/gcc/config/mips/sde.h +++ b/gcc/config/mips/sde.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler. MIPS SDE version. - Copyright (C) 2003, 2004, 2007, 2008, 2009, 2010 + Copyright (C) 2003, 2004, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -59,7 +59,6 @@ along with GCC; see the file COPYING3. If not see #define LINK_SPEC "\ %(endian_spec) \ %{G*} %{mips1} %{mips2} %{mips3} %{mips4} %{mips32*} %{mips64*} \ -%{bestGnum} \ %{shared} %{non_shared} %{call_shared} \ %{mabi=n32:-melf32%{EB:b}%{EL:l}tsmipn32} \ %{mabi=64:-melf64%{EB:b}%{EL:l}tsmip} \ diff --git a/gcc/config/mips/vxworks.h b/gcc/config/mips/vxworks.h index 438e25b..f6c84b9 100644 --- a/gcc/config/mips/vxworks.h +++ b/gcc/config/mips/vxworks.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1999, 2003, 2004, 2007, 2008, 2010 +/* Copyright (C) 1999, 2003, 2004, 2007, 2008, 2010, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -35,8 +35,7 @@ along with GCC; see the file COPYING3. If not see #undef LINK_SPEC #define LINK_SPEC "\ %(endian_spec) \ -%{!G:-G 0} %{G*} %{mips1} %{mips2} %{mips3} %{mips4} %{mips32} %{mips64} \ -%{bestGnum}" \ +%{!G:-G 0} %{G*} %{mips1} %{mips2} %{mips3} %{mips4} %{mips32} %{mips64} " \ VXWORKS_LINK_SPEC #undef LIB_SPEC -- cgit v1.1