(LINK_SPEC): Do not depend on gas.
authorJim Wilson <wilson@gcc.gnu.org>
Tue, 8 Mar 1994 01:47:22 +0000 (17:47 -0800)
committerJim Wilson <wilson@gcc.gnu.org>
Tue, 8 Mar 1994 01:47:22 +0000 (17:47 -0800)
(LINK_SPEC): Do not depend on gas.  Don't interpret -EB
and -EL options, but do pass them.

From-SVN: r6720

gcc/config/mips/bsd-4.h
gcc/config/mips/bsd-5.h
gcc/config/mips/dec-osf1.h
gcc/config/mips/iris5.h
gcc/config/mips/mips-5.h
gcc/config/mips/svr3-4.h
gcc/config/mips/svr3-5.h
gcc/config/mips/svr4-4.h
gcc/config/mips/svr4-5.h

index 45ac4c2dba63af02a5446907e8dea22a76019ac4..3bd70c36887104bef4a73c5fe2bc2a27e8810e33 100644 (file)
@@ -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"
 
index 905c15b438cb947c4f45b26817682b1e646a00a2..13c419e19daa6443fc1c4dc91eb0570c93fd1910 100644 (file)
@@ -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"
 
index 3f00e6237a3cde3455503a7aad19fcd1a2f74e86..d40e5fed040c91bc7d15c58153e5086207970813 100644 (file)
@@ -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"
 
index eec61909d4f7ea428f913feb8d458c1f3ccfd21e..f38ee77ceae052b0e5450dc08737df9eeb94d9e7 100644 (file)
@@ -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"
index f53d0ad9fb435948a5269586ad0515a40da72175..3c8ce39fe934fae02ccf00afb0992ee822d55449 100644 (file)
@@ -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}}"
 
index ac88ef65d50ceabb64c4a0981d1c2761551d3cf5..9641c10007d6decf0684a2734811cea762d20bf1 100644 (file)
@@ -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"
 
index d36b381d757d3cedc6606d89a7cea136d3aa9d26..538d2068f6634e8425237fa13fbde2c87bda627b 100644 (file)
@@ -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"
 
index 2d7d540e00d75ab15f3e3754292f22637f0c3971..e4adebede50e41882b95f1b55ae061b0935c7067 100644 (file)
@@ -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"
 
index 1c2297441e780acf4e1f8ab49e2e6066456186ba..b7210ea2fb78f332dc986a6c32cfcb8f3b24e7ee 100644 (file)
@@ -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"