From: Jim Wilson Date: Fri, 20 May 1994 16:50:02 +0000 (-0700) Subject: (STARTFILE_SPEC, LIB_SPEC): Define. X-Git-Tag: misc/cutover-egcs-0~6599 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34ab957bb38d14a0dfa7a532fb0aee5a627fe987;p=thirdparty%2Fgcc.git (STARTFILE_SPEC, LIB_SPEC): Define. From-SVN: r7344 --- diff --git a/gcc/config/mips/iris4.h b/gcc/config/mips/iris4.h index 9d17bd10aa0a..3369a8ffe6f8 100644 --- a/gcc/config/mips/iris4.h +++ b/gcc/config/mips/iris4.h @@ -23,6 +23,15 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "mips/iris3.h" +/* Profiling is supported via libprof1.a not -lc_p as in Irix 3. */ +#undef STARTFILE_SPEC +#define STARTFILE_SPEC \ + "%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s libprof1.a%s}%{!p:crt1.o%s}}" + +#undef LIB_SPEC +#define LIB_SPEC \ + "%{!p:%{!pg:%{!static:%{!g*:-lc_s}}}}%{p:libprof1.a%s}%{pg:libprof1.a%s} -lc crtn.o%s" + /* Assembler is said to have trouble with .ascii with escape chars. The quickest way to avoid the problem is not to use .ascii. */ #undef ASM_OUTPUT_ASCII