]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* configure.ac (mips*-*-*linux*, mips*-*-gnu*): Use mt-mips-gnu.
authorRichard Sandiford <rdsandiford@googlemail.com>
Sat, 16 Aug 2008 06:47:17 +0000 (06:47 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Sat, 16 Aug 2008 06:47:17 +0000 (06:47 +0000)
* configure: Regenerate.

config/
* mt-mips16-compat: New file, taken from mt-mips-elfoabi.
* mt-mips-elfoabi: Include mt-mips16-compat.
* mt-mips-gnu: New file.

ChangeLog
config/ChangeLog
config/mt-mips-elfoabi
config/mt-mips-gnu [new file with mode: 0644]
config/mt-mips16-compat [new file with mode: 0644]
configure
configure.ac

index d20819b67a1f08126b919d915ea801c8f79d559e..b6cd912de8a568f893041f523692b96d98947903 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-16  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * configure.ac (mips*-*-*linux*, mips*-*-gnu*): Use mt-mips-gnu.
+       * configure: Regenerate.
+
 2008-07-30 Paolo Bonzini  <bonzini@gnu.org>
 
        Sync with gcc:
index 8662c7abaef93148130170b24d5f9b7f6579827e..cc9d644c891dbae8b39487fde144ba2eaab5fed0 100644 (file)
@@ -1,3 +1,9 @@
+2008-08-16  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * mt-mips16-compat: New file, taken from mt-mips-elfoabi.
+       * mt-mips-elfoabi: Include mt-mips16-compat.
+       * mt-mips-gnu: New file.
+
 2008-08-03  Alan Modra  <amodra@bigpond.net.au>
 
        * mt-spu (all-ld): Update for ld Makefile changes.
index 988ca1eaa2eff07b0a1090a764d7a0661346440a..a9f9cbec7d253fe10ec3456f5b23bbfc13e7ae61 100644 (file)
@@ -1,6 +1 @@
-# 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
+include $(srcdir)/config/mt-mips16-compat
diff --git a/config/mt-mips-gnu b/config/mt-mips-gnu
new file mode 100644 (file)
index 0000000..a8198c0
--- /dev/null
@@ -0,0 +1,2 @@
+include $(srcdir)/config/mt-gnu
+include $(srcdir)/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
index 797cfcf55627963f7dbca9c6c348943c9a053162..b69f90d7009c024f723cf8410a7321de524f3ffb 100755 (executable)
--- a/configure
+++ b/configure
@@ -5448,6 +5448,9 @@ case "${target}" in
   mipsisa*-*-elfoabi*)
     target_makefile_frag="config/mt-mips-elfoabi"
     ;;
+  mips*-*-*linux* | mips*-*-gnu*)
+    target_makefile_frag="config/mt-mips-gnu"
+    ;;
   *-*-netware*)
     target_makefile_frag="config/mt-netware"
     ;;
index dc9ffacf7c7ca5381982b2fe32ffa2d78f2d1339..1804731774ef424d8865a8fbe227f828756b53f2 100644 (file)
@@ -1904,6 +1904,9 @@ case "${target}" in
   mipsisa*-*-elfoabi*)
     target_makefile_frag="config/mt-mips-elfoabi"
     ;;
+  mips*-*-*linux* | mips*-*-gnu*)
+    target_makefile_frag="config/mt-mips-gnu"
+    ;;
   *-*-netware*)
     target_makefile_frag="config/mt-netware"
     ;;