summaryrefslogtreecommitdiff
path: root/gcc/config/mips/x-sony
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/mips/x-sony')
-rwxr-xr-xgcc/config/mips/x-sony18
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc/config/mips/x-sony b/gcc/config/mips/x-sony
new file mode 100755
index 0000000..c64593d
--- /dev/null
+++ b/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