From 34ab957bb38d14a0dfa7a532fb0aee5a627fe987 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Fri, 20 May 1994 09:50:02 -0700 Subject: [PATCH] (STARTFILE_SPEC, LIB_SPEC): Define. From-SVN: r7344 --- gcc/config/mips/iris4.h | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- 2.47.2