aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc/config/mips/x-sony
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/config/mips/x-sony')
-rw-r--r--contrib/gcc/config/mips/x-sony18
1 files changed, 18 insertions, 0 deletions
diff --git a/contrib/gcc/config/mips/x-sony b/contrib/gcc/config/mips/x-sony
new file mode 100644
index 000000000000..c64593d7d7d3
--- /dev/null
+++ b/contrib/gcc/config/mips/x-sony
@@ -0,0 +1,18 @@
+# Make internal tables bigger.
+OLDCC=cc -Wf,-XNg1500,-XNh2000 -Olimit 3000 $(OPT)
+
+# Define CC and OLDCC as the same, so that the tests:
+# if [ x"$(OLDCC)" = x"$(CC)" ] ...
+#
+# will succeed (if OLDCC != CC, it is assumed that GCC is
+# being used in secondary stage builds). We need to pass
+# the -Wf,-XNg1500 option so the compiler can compile the
+# G++ file cp-parse.c. Otherwise it complains about
+# too many case statements. The -Olimit is so the user
+# can use -O2. Down with fixed size tables!
+
+CC = $(OLDCC)
+OPT = -O1
+
+# This is so we can link collect2 running native.
+CLIB = -lmld