summaryrefslogtreecommitdiff
path: root/config/mt-mips-elfoabi
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-20 20:01:34 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-20 20:01:34 +0000
commit3013c2c76e91d6bca4df554fbe99e301c7a2a537 (patch)
tree8345d7279012b8f1544b4b9ab28e8b7ad850e573 /config/mt-mips-elfoabi
parentec5203f41a2bc7499e106ed78a89faa6f3b895d2 (diff)
downloadgcc-3013c2c76e91d6bca4df554fbe99e301c7a2a537.tar.gz
* configure.ac (mipsisa*-*-elfoabi*): New stanza.
* configure: Regenerate. config/ * mt-mips-elfoabi: New file. gcc/ * doc/invoke.texi (-minterlink-mips16): Document. * config/mips/mips.opt (minterlink-mips16): New option. * config/mips/mips.c (mips_function_ok_for_sibcall): Handle -minterlink-mips16 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128625 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config/mt-mips-elfoabi')
-rw-r--r--config/mt-mips-elfoabi6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/mt-mips-elfoabi b/config/mt-mips-elfoabi
new file mode 100644
index 00000000000..49c8ecd32ba
--- /dev/null
+++ b/config/mt-mips-elfoabi
@@ -0,0 +1,6 @@
+# The *-elfoabi configurations are intended to be usable for both
+# MIPS16 and non-MIPS16 code, but 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