@@ -47,8 +47,8 @@ along with GCC; see the file COPYING3.
#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: \
@@ -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 */
@@ -148,7 +148,7 @@ along with GCC; see the file COPYING3.
%{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"
@@ -77,8 +77,8 @@ along with GCC; see the file COPYING3.
#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 \
@@ -59,7 +59,6 @@ along with GCC; see the file COPYING3.
#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} \
@@ -35,8 +35,7 @@ along with GCC; see the file COPYING3.
#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