From: Jim Wilson Date: Tue, 8 Mar 1994 01:47:22 +0000 (-0800) Subject: (LINK_SPEC): Do not depend on gas. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f40de7333b7544f7a590029d5cec88ad0f815c2;p=gcc.git (LINK_SPEC): Do not depend on gas. (LINK_SPEC): Do not depend on gas. Don't interpret -EB and -EL options, but do pass them. From-SVN: r6720 --- diff --git a/gcc/config/mips/bsd-4.h b/gcc/config/mips/bsd-4.h index 45ac4c2dba6..3bd70c36887 100644 --- a/gcc/config/mips/bsd-4.h +++ b/gcc/config/mips/bsd-4.h @@ -36,13 +36,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ %{!.S:%{!.s: -D__LANGUAGE_C -D_LANGUAGE_C %{!ansi:-DLANGUAGE_C}}}" #define LINK_SPEC "\ -%{G*} \ -%{!mgas: \ - %{EB} %{!EB: -EB} \ - %{EL: %e-EL not supported} \ - %{bestGnum} %{shared} %{non_shared} \ - %{mips1} %{mips2} %{mips3} \ - -systype /bsd43/ }" +%{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} \ +%{bestGnum} %{shared} %{non_shared} \ +-systype /bsd43/" #define LIB_SPEC "%{p:-lprof1} %{pg:-lprof1} -lc" diff --git a/gcc/config/mips/bsd-5.h b/gcc/config/mips/bsd-5.h index 905c15b438c..13c419e19da 100644 --- a/gcc/config/mips/bsd-5.h +++ b/gcc/config/mips/bsd-5.h @@ -36,14 +36,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ %{!.S:%{!.s: -D__LANGUAGE_C -D_LANGUAGE_C %{!ansi:-DLANGUAGE_C}}}" #define LINK_SPEC "\ -%{G*} \ -%{!mgas: \ - %{EB} %{!EB: -EB} \ - %{EL: %e-EL not supported} \ - %{mips1} %{mips2} %{mips3} %{bestGnum} \ - %{shared} %{non_shared} %{call_shared} %{no_archive} %{exact_version} \ - %{!shared: %{!non_shared: %{!call_shared: -non_shared}}} \ - -systype /bsd43/ }" +%{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} \ +%{bestGnum} %{shared} %{non_shared} \ +%{call_shared} %{no_archive} %{exact_version} \ +%{!shared: %{!non_shared: %{!call_shared: -non_shared}}} \ +-systype /bsd43/" #define LIB_SPEC "%{p:-lprof1} %{pg:-lprof1} -lc" diff --git a/gcc/config/mips/dec-osf1.h b/gcc/config/mips/dec-osf1.h index 3f00e6237a3..d40e5fed040 100644 --- a/gcc/config/mips/dec-osf1.h +++ b/gcc/config/mips/dec-osf1.h @@ -25,13 +25,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ -Asystem(unix) -Asystem(xpg4) -Acpu(mips) -Amachine(mips)" #define LINK_SPEC "\ -%{G*} \ -%{!mgas: \ - %{EL} %{!EL: -EL} \ - %{EB: %e-EB not supported} \ - %{mips1} %{mips2} %{mips3} %{bestGnum} \ - %{shared} %{non_shared} %{call_shared} %{no_archive} %{exact_version} \ - %{!shared: %{!non_shared: %{!call_shared: -non_shared}}}}" +%{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} \ +%{bestGnum} %{shared} %{non_shared} \ +%{call_shared} %{no_archive} %{exact_version} \ +%{!shared: %{!non_shared: %{!call_shared: -non_shared}}}" #include "mips/ultrix.h" diff --git a/gcc/config/mips/iris5.h b/gcc/config/mips/iris5.h index eec61909d4f..f38ee77ceae 100644 --- a/gcc/config/mips/iris5.h +++ b/gcc/config/mips/iris5.h @@ -73,13 +73,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #undef LINK_SPEC #define LINK_SPEC "\ -%{G*} \ -%{!mgas: \ - %{mips1} %{mips2} %{mips3} %{bestGnum} \ - %{shared} %{non_shared} %{call_shared} %{no_archive} %{exact_version} \ - %{!shared: %{!non_shared: \ - %{!call_shared: -call_shared -no_unresolved}}} \ - -_SYSTYPE_SVR4 }" +%{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} \ +%{bestGnum} %{shared} %{non_shared} \ +%{call_shared} %{no_archive} %{exact_version} \ +%{!shared: %{!non_shared: \ + %{!call_shared: -call_shared -no_unresolved}}} \ +-_SYSTYPE_SVR4" #undef LIB_SPEC #define LIB_SPEC "%{p:-lprof1} %{pg:-lprof1} -lc crtn.o%s" diff --git a/gcc/config/mips/mips-5.h b/gcc/config/mips/mips-5.h index f53d0ad9fb4..3c8ce39fe93 100644 --- a/gcc/config/mips/mips-5.h +++ b/gcc/config/mips/mips-5.h @@ -19,13 +19,10 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define LINK_SPEC "\ -%{G*} \ -%{!mgas: \ - %{EB} %{!EB: -EB} \ - %{EL: %e-EL not supported} \ - %{mips1} %{mips2} %{mips3} %{bestGnum} \ - %{shared} %{non_shared} %{call_shared} %{no_archive} %{exact_version} \ - %{!shared: %{!non_shared: %{!call_shared: -non_shared}}}}" +%{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} \ +%{bestGnum} %{shared} %{non_shared} \ +%{call_shared} %{no_archive} %{exact_version} \ +%{!shared: %{!non_shared: %{!call_shared: -non_shared}}}" #define STARTFILE_SPEC "%{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt1.o%s crtn.o%s}}" diff --git a/gcc/config/mips/svr3-4.h b/gcc/config/mips/svr3-4.h index ac88ef65d50..9641c10007d 100644 --- a/gcc/config/mips/svr3-4.h +++ b/gcc/config/mips/svr3-4.h @@ -36,13 +36,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ %{!.S:%{!.s: -D__LANGUAGE_C -D_LANGUAGE_C %{!ansi:-DLANGUAGE_C}}}" #define LINK_SPEC "\ -%{G*} \ -%{!mgas: \ - %{EB} %{!EB:-EB} \ - %{EL: %e-EL not supported} \ - %{bestGnum} %{shared} %{non_shared} \ - %{mips1} %{mips2} %{mips3} \ - -systype /sysv/}" +%{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} \ +%{bestGnum} %{shared} %{non_shared} \ +-systype /sysv/" #define LIB_SPEC "%{p:-lprof1} %{pg:-lprof1} -lc crtn.o%s" diff --git a/gcc/config/mips/svr3-5.h b/gcc/config/mips/svr3-5.h index d36b381d757..538d2068f66 100644 --- a/gcc/config/mips/svr3-5.h +++ b/gcc/config/mips/svr3-5.h @@ -36,14 +36,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ %{!.S:%{!.s: -D__LANGUAGE_C -D_LANGUAGE_C %{!ansi:-DLANGUAGE_C}}}" #define LINK_SPEC "\ -%{G*} \ -%{!mgas: \ - %{EB} %{!EB:-EB} \ - %{EL: %e-EL not supported} \ - %{mips1} %{mips2} %{mips3} %{bestGnum} \ - %{shared} %{non_shared} %{call_shared} %{no_archive} %{exact_version} \ - %{!shared: %{!non_shared: %{!call_shared: -non_shared}}} \ - -systype /sysv/ }" +%{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} \ +%{bestGnum} %{shared} %{non_shared} \ +%{call_shared} %{no_archive} %{exact_version} \ +%{!shared: %{!non_shared: %{!call_shared: -non_shared}}} \ +-systype /sysv/ " #define LIB_SPEC "%{p:-lprof1} %{pg:-lprof1} -lc crtn.o%s" diff --git a/gcc/config/mips/svr4-4.h b/gcc/config/mips/svr4-4.h index 2d7d540e00d..e4adebede50 100644 --- a/gcc/config/mips/svr4-4.h +++ b/gcc/config/mips/svr4-4.h @@ -36,13 +36,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ %{!.S:%{!.s: -D__LANGUAGE_C -D_LANGUAGE_C %{!ansi:-DLANGUAGE_C}}}" #define LINK_SPEC "\ -%{G*} \ -%{!mgas: \ - %{EB} %{!EB:-EB} \ - %{EL: %e-EL not supported} \ - %{bestGnum} %{shared} %{non_shared} \ - %{mips1} %{mips2} %{mips3} \ - -systype /svr4/}" +%{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} \ +%{bestGnum} %{shared} %{non_shared} \ +-systype /svr4/" #define LIB_SPEC "%{p:-lprof1} %{pg:-lprof1} -lc crtn.o%s" diff --git a/gcc/config/mips/svr4-5.h b/gcc/config/mips/svr4-5.h index 1c2297441e7..b7210ea2fb7 100644 --- a/gcc/config/mips/svr4-5.h +++ b/gcc/config/mips/svr4-5.h @@ -37,14 +37,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ %{!.S:%{!.s: -D__LANGUAGE_C -D_LANGUAGE_C %{!ansi:-DLANGUAGE_C}}}" #define LINK_SPEC "\ -%{G*} \ -%{!mgas: \ - %{EB} %{!EB:-EB} \ - %{EL: %e-EL not supported} \ - %{mips1} %{mips2} %{mips3} %{bestGnum} \ - %{shared} %{non_shared} %{call_shared} %{no_archive} %{exact_version} \ - %{!shared: %{!non_shared: %{!call_shared: -non_shared}}} \ - -systype /svr4/ }" +%{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} \ +%{bestGnum} %{shared} %{non_shared} \ +%{call_shared} %{no_archive} %{exact_version} \ +%{!shared: %{!non_shared: %{!call_shared: -non_shared}}} \ +-systype /svr4/ " #define LIB_SPEC "%{p:-lprof1} %{pg:-lprof1} -lc crtn.o%s"