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
This commit is contained in:
Joseph Myers 2011-01-14 18:56:52 +00:00 committed by Joseph Myers
parent 438da41abf
commit cbabf03f9a
7 changed files with 22 additions and 15 deletions

View File

@ -1,3 +1,14 @@
2011-01-14 Joseph Myers <joseph@codesourcery.com>
* 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 <joseph@codesourcery.com>
* config/microblaze/microblaze.h (ASM_SPEC): Remove

View File

@ -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: \

View File

@ -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 */

View File

@ -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"

View File

@ -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 \

View File

@ -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} \

View File

@ -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