aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1996-09-30 14:14:51 -0700
committerJim Wilson <wilson@gcc.gnu.org>1996-09-30 14:14:51 -0700
commit6cb2e74e2e477603388f02e638d9325b07bc2214 (patch)
tree3233aeba23b8c3369ba6b336aa34f08eb1384b91
parent74291a4b92c296adb5ae98ed29de8cf29c6ecb22 (diff)
downloadgcc-6cb2e74e2e477603388f02e638d9325b07bc2214.zip
gcc-6cb2e74e2e477603388f02e638d9325b07bc2214.tar.gz
gcc-6cb2e74e2e477603388f02e638d9325b07bc2214.tar.bz2
(ASM_SPEC): Add -w.
(STARTFILE_SPEC): Add mips3 to n32 pathnames. Add -L/usr/lib32/mips for n32 cases. (ENDFILE_SPEC): Add mips3 to n32 pathnames. From-SVN: r12880
-rw-r--r--gcc/config/mips/iris6.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/gcc/config/mips/iris6.h b/gcc/config/mips/iris6.h
index 216550a..2481960 100644
--- a/gcc/config/mips/iris6.h
+++ b/gcc/config/mips/iris6.h
@@ -130,6 +130,9 @@ Boston, MA 02111-1307, USA. */
/* Must pass -show instead of -v. */
/* Must pass -G 0 to the assembler, otherwise we may get warnings about
GOT overflow. */
+/* ??? We pass -w to disable all assembler warnings. The `label should be
+ inside .ent/.end block' warning that we get for DWARF II debug info labels
+ is particularly annoying. */
#define ASM_SPEC "\
%{!mgas: \
%{!.s:-nocpp} %{.s: %{cpp} %{nocpp}} \
@@ -138,7 +141,7 @@ Boston, MA 02111-1307, USA. */
%{G*} %{EB} %{EL} %{v:-show} \
%{mips1} %{mips2} %{mips3} %{mips4} \
%{noasmopt:-O0} %{!noasmopt:%{O:-O2} %{O1:-O2} %{O2:-O2} %{O3:-O3}} \
--g0 -G 0 %{membedded-pic} \
+-g0 -G 0 -w %{membedded-pic} \
%{mabi=32:-32}%{mabi=o32:-32}%{mabi=n32:-n32}%{mabi=64:-64}%{mabi=n64:-64} \
%{!mabi*:-n32}"
@@ -295,9 +298,9 @@ while (0)
#undef STARTFILE_SPEC
#define STARTFILE_SPEC \
"%{mabi=32:%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s libprof1.a%s}%{!p:crt1.o%s}}} \
- %{mabi=n32:%{pg:/usr/lib32/gcrt1.o%s}%{!pg:%{p:/usr/lib32/mcrt1.o%s /usr/lib32/libprof1.a%s}%{!p:/usr/lib32/crt1.o%s}}} \
+ %{mabi=n32:%{pg:/usr/lib32/mips3/gcrt1.o%s}%{!pg:%{p:/usr/lib32/mips3/mcrt1.o%s /usr/lib32/mips3/libprof1.a%s}%{!p:/usr/lib32/mips3/crt1.o%s}} -L/usr/lib32/mips3} \
%{mabi=64:%{pg:/usr/lib64/gcrt1.o}%{!pg:%{p:/usr/lib64/mcrt1.o /usr/lib64/libprof1.a}%{!p:/usr/lib64/crt1.o}}} \
- %{!mabi=32:%{!mabi=n32:%{!mabi=64:%{pg:/usr/lib32/gcrt1.o%s}%{!pg:%{p:/usr/lib32/mcrt1.o%s /usr/lib32/libprof1.a%s}%{!p:/usr/lib32/crt1.o%s}}}}}"
+ %{!mabi=32:%{!mabi=n32:%{!mabi=64:%{pg:/usr/lib32/mips3/gcrt1.o%s}%{!pg:%{p:/usr/lib32/mips3/mcrt1.o%s /usr/lib32/mips3/libprof1.a%s}%{!p:/usr/lib32/mips3/crt1.o%s}} -L/usr/lib32/mips3}}}"
#undef LIB_SPEC
#define LIB_SPEC "%{p:libprof1.a%s}%{pg:libprof1.a%s} -lc"
@@ -306,9 +309,9 @@ while (0)
on the mipsX option. */
#undef ENDFILE_SPEC
#define ENDFILE_SPEC \
- "%{mabi=32:crtn.o%s}%{mabi=n32:/usr/lib32/crtn.o%s}\
+ "%{mabi=32:crtn.o%s}%{mabi=n32:/usr/lib32/mips3/crtn.o%s}\
%{mabi=64:/usr/lib64/crtn.o}\
- %{!mabi=32:%{!mabi=n32:%{!mabi=64:/usr/lib32/crtn.o%s}}}"
+ %{!mabi=32:%{!mabi=n32:%{!mabi=64:/usr/lib32/mips3/crtn.o%s}}}"
/* ??? If no mabi=X option give, but a mipsX option is, then should depend
on the mipsX option. */