diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b06c32220f81..d0c9abdbb07f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,14 @@ +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 diff --git a/gcc/config/mips/linux64.h b/gcc/config/mips/linux64.h index 8d035694abe3..0822c6d1fb58 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 7aa6bacbed53..93b70ffee191 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 b8f7e76f2f42..44ef20cfff04 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 4936131c3f6d..e6fe265bc68d 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 dfa40b91a941..6a5485d7bba0 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 438e25b9bd4e..f6c84b9a69bb 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