aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1996-07-15 11:23:52 -0700
committerJim Wilson <wilson@gcc.gnu.org>1996-07-15 11:23:52 -0700
commit9a6c4e72e1145d3809ac99d829a03b9d5956bc45 (patch)
treeaaa461222338a55ab9cad55a907905f1a5aa93ca /gcc
parent06db411a6864c1ecdb755c823d3dfadae3741ec7 (diff)
downloadgcc-9a6c4e72e1145d3809ac99d829a03b9d5956bc45.zip
gcc-9a6c4e72e1145d3809ac99d829a03b9d5956bc45.tar.gz
gcc-9a6c4e72e1145d3809ac99d829a03b9d5956bc45.tar.bz2
(LINK_SPEC): Add -woff 84.
From-SVN: r12446
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/mips/iris6.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/config/mips/iris6.h b/gcc/config/mips/iris6.h
index eed17a0..56bf56e 100644
--- a/gcc/config/mips/iris6.h
+++ b/gcc/config/mips/iris6.h
@@ -278,6 +278,11 @@ while (0)
/* ??? If no mabi=X option give, but a mipsX option is, then should depend
on the mipsX option. */
+/* ??? We use the -woff 84 option to disable the warning about linking
+ with libraries that are unnecessary. This message is currently more of
+ a hassle than a benefit, because we get two warnings for libgcc.a everytime
+ we link. If we added the proper -dont_warn_unused/-warn_unused options
+ around libgcc.a, then we can take out the -woff 84 option. */
#undef LINK_SPEC
#define LINK_SPEC "\
%{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} %{mips4} \
@@ -285,7 +290,7 @@ while (0)
%{call_shared} %{no_archive} %{exact_version} \
%{!shared: %{!non_shared: %{!call_shared: -call_shared -no_unresolved}}} \
%{rpath} \
--_SYSTYPE_SVR4 \
+-_SYSTYPE_SVR4 -woff 84 \
%{mabi=32: -32}%{mabi=n32: -n32}%{mabi=64: -64} \
%{!mabi=32:%{!mabi=n32:%{!mabi=64: -n32}}}"