aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1994-03-07 17:47:22 -0800
committerJim Wilson <wilson@gcc.gnu.org>1994-03-07 17:47:22 -0800
commit3f40de7333b7544f7a590029d5cec88ad0f815c2 (patch)
tree9055fcb01532e520a3f9bee90717af5836aa19fe
parent4065d1d2ef40a948d8760ad314b83d01fb19b060 (diff)
downloadgcc-3f40de7333b7544f7a590029d5cec88ad0f815c2.zip
gcc-3f40de7333b7544f7a590029d5cec88ad0f815c2.tar.gz
gcc-3f40de7333b7544f7a590029d5cec88ad0f815c2.tar.bz2
(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
-rw-r--r--gcc/config/mips/bsd-4.h10
-rw-r--r--gcc/config/mips/bsd-5.h13
-rw-r--r--gcc/config/mips/dec-osf1.h11
-rw-r--r--gcc/config/mips/iris5.h13
-rw-r--r--gcc/config/mips/mips-5.h11
-rw-r--r--gcc/config/mips/svr3-4.h10
-rw-r--r--gcc/config/mips/svr3-5.h13
-rw-r--r--gcc/config/mips/svr4-4.h10
-rw-r--r--gcc/config/mips/svr4-5.h13
9 files changed, 38 insertions, 66 deletions
diff --git a/gcc/config/mips/bsd-4.h b/gcc/config/mips/bsd-4.h
index 45ac4c2..3bd70c3 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 905c15b..13c419e 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 3f00e62..d40e5fe 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 eec6190..f38ee77 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 f53d0ad..3c8ce39 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 ac88ef6..9641c10 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 d36b381..538d2068 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 2d7d540..e4adebe 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 1c22974..b7210ea 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"