diff options
author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-04-07 21:29:09 +0000 |
---|---|---|
committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-04-07 21:29:09 +0000 |
commit | 28437a9e79baddd5b61a50b22da93306d4b9a558 (patch) | |
tree | 4bf18bcc5b63d58164ad778a0c7dd95cbc37cb8b /gcc/config/mips/iris5.h | |
parent | 8a18b90c1cf305013dd4e337409c568beb8e9022 (diff) | |
download | gcc-28437a9e79baddd5b61a50b22da93306d4b9a558.tar.gz |
(SUBTARGET_CC1_SPEC): Define.
(LINK_SPEC, STARTFILE_SPEC): Support -static.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13841 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips/iris5.h')
-rw-r--r-- | gcc/config/mips/iris5.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/gcc/config/mips/iris5.h b/gcc/config/mips/iris5.h index f75f39d68eb..d7840b45a4a 100644 --- a/gcc/config/mips/iris5.h +++ b/gcc/config/mips/iris5.h @@ -54,6 +54,9 @@ Boston, MA 02111-1307, USA. */ (DEFAULT_WORD_SWITCH_TAKES_ARG (STR) \ || !strcmp (STR, "rpath")) +#undef SUBTARGET_CC1_SPEC +#define SUBTARGET_CC1_SPEC "%{static: -mno-abicalls}" + /* ??? _MIPS_SIM and _MIPS_SZPTR should eventually depend on options when options for them exist. */ @@ -80,14 +83,21 @@ Boston, MA 02111-1307, USA. */ %{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}}} \ +%{static: -non_shared} \ +%{!static: \ + %{!shared:%{!non_shared:%{!call_shared: -call_shared -no_unresolved}}}} \ %{rpath} \ -_SYSTYPE_SVR4" /* We now support shared libraries. */ #undef STARTFILE_SPEC -#define STARTFILE_SPEC \ - "%{!shared:%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s libprof1.a%s}%{!p:crt1.o%s}}}" +#define STARTFILE_SPEC "\ +%{!static: \ + %{!shared:%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s libprof1.a%s}%{!p:crt1.o%s}}}} \ +%{static: \ + %{pg:gcrt1.o%s} \ + %{!pg:%{p:/usr/lib/nonshared/mcrt1.o%s libprof1.a%s} \ + %{!p:/usr/lib/nonshared/crt1.o%s}}}" #undef LIB_SPEC #define LIB_SPEC "%{!shared:%{p:-lprof1} %{pg:-lprof1} -lc}" |