aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1996-06-03 16:34:35 -0700
committerJim Wilson <wilson@gcc.gnu.org>1996-06-03 16:34:35 -0700
commit9315fc066ee6743b60ecaf0b3d8dd9cf6f7ddd34 (patch)
treee2198b1607c8bb86c0cfe8df3e568dd967576b49
parentd340986d07671a2aaa8cfb072ddb04b19fa25a93 (diff)
downloadgcc-9315fc066ee6743b60ecaf0b3d8dd9cf6f7ddd34.zip
gcc-9315fc066ee6743b60ecaf0b3d8dd9cf6f7ddd34.tar.gz
gcc-9315fc066ee6743b60ecaf0b3d8dd9cf6f7ddd34.tar.bz2
(CC, OLDCC): Define to be `cc -32'.
From-SVN: r12148
-rw-r--r--gcc/config/mips/x-iris69
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/config/mips/x-iris6 b/gcc/config/mips/x-iris6
index 3f775fd..7bb941ac 100644
--- a/gcc/config/mips/x-iris6
+++ b/gcc/config/mips/x-iris6
@@ -1,2 +1,11 @@
+# We force the use of the O32 ABI for two reasons.
+# 1) For consistency, because some versions of Irix 6 default to the O32 ABI
+# and some versions default to the N64 ABI.
+# 2) To avoid SGI compiler bugs. The v6.x and v7.0 compilers from SGI have
+# bugs that cause gcc to be miscompiled when the N32 or N64 ABIs are used.
+# The O32 ABI is known to be OK.
+CC = $(OLDCC)
+OLDCC = cc -32
+
# Find all of the declarations from the header files
FIXPROTO_DEFINES= -D__EXTENSIONS__ -D_LANGUAGE_C_PLUS_PLUS