aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1994-05-20 09:50:02 -0700
committerJim Wilson <wilson@gcc.gnu.org>1994-05-20 09:50:02 -0700
commit34ab957bb38d14a0dfa7a532fb0aee5a627fe987 (patch)
treee408584c7377b95d172a472a63e76d15a0a06d2a /gcc
parent5c43aed8955326cdf89dfe7f031b49eb1b3c31b9 (diff)
downloadgcc-34ab957bb38d14a0dfa7a532fb0aee5a627fe987.zip
gcc-34ab957bb38d14a0dfa7a532fb0aee5a627fe987.tar.gz
gcc-34ab957bb38d14a0dfa7a532fb0aee5a627fe987.tar.bz2
(STARTFILE_SPEC, LIB_SPEC): Define.
From-SVN: r7344
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/mips/iris4.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/config/mips/iris4.h b/gcc/config/mips/iris4.h
index 9d17bd1..3369a8f 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