aboutsummaryrefslogtreecommitdiff
path: root/config/mt-mips-elfoabi
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@nildram.co.uk>2007-09-20 20:01:34 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2007-09-20 20:01:34 +0000
commit1ec3b87bb2a787a5e2a50fb984dc3d48f08a4ec6 (patch)
tree8345d7279012b8f1544b4b9ab28e8b7ad850e573 /config/mt-mips-elfoabi
parentf25bf34f06bd8a1ada0928e402acbe984a199dbb (diff)
downloadgcc-1ec3b87bb2a787a5e2a50fb984dc3d48f08a4ec6.zip
gcc-1ec3b87bb2a787a5e2a50fb984dc3d48f08a4ec6.tar.gz
gcc-1ec3b87bb2a787a5e2a50fb984dc3d48f08a4ec6.tar.bz2
configure.ac (mipsisa*-*-elfoabi*): New stanza.
* 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 From-SVN: r128625
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 0000000..49c8ecd
--- /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