summaryrefslogtreecommitdiff
path: root/gcc/config/mips/x-mips
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-01-06 01:47:28 -0800
committerYamaArashi <shadow962@live.com>2016-01-06 01:47:28 -0800
commitbe8b04496302184c6e8f04d6179f9c3afc50aeb6 (patch)
tree726e2468c0c07add773c0dbd86ab6386844259ae /gcc/config/mips/x-mips
initial commit
Diffstat (limited to 'gcc/config/mips/x-mips')
-rwxr-xr-xgcc/config/mips/x-mips20
1 files changed, 20 insertions, 0 deletions
diff --git a/gcc/config/mips/x-mips b/gcc/config/mips/x-mips
new file mode 100755
index 0000000..7b40743
--- /dev/null
+++ b/gcc/config/mips/x-mips
@@ -0,0 +1,20 @@
+# 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
+OLDCC = cc -Wf,-XNg1500,-XNh2000 -Olimit 3000 $(OPT)
+
+# The bison output files are machine-indep,
+# so different flags for a particular machine are not useful.
+#BISONFLAGS = -l
+
+# This is so we can link collect2 running native.
+CLIB = -lmld