]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - config/mt-mips16-compat
Imported binutils-2.20
[msp430-binutils.git] / config / mt-mips16-compat
diff --git a/config/mt-mips16-compat b/config/mt-mips16-compat
new file mode 100644 (file)
index 0000000..7e36791
--- /dev/null
@@ -0,0 +1,5 @@
+# Configurations use this fragment if they support MIPS16 and non-MIPS16 code,
+# but if the libraries are all non-MIPS16.  Add -minterlink-mips16 so
+# that the libraries can be used with both ISA modes.
+CFLAGS_FOR_TARGET += -minterlink-mips16
+CXXFLAGS_FOR_TARGET += -minterlink-mips16