2007-08-17 Richard Sandiford <richard@codesourcery.com>
authorRichard Sandiford <rdsandiford@googlemail.com>
Fri, 17 Aug 2007 13:15:24 +0000 (13:15 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Fri, 17 Aug 2007 13:15:24 +0000 (13:15 +0000)
    Nigel Stephens  <nigel@mips.com>

* config/mt-sde: New file.
* configure.ac (mips*-sde-elf*): New stanza.  Use config/mt-sde
as target_makefile_frag.
* configure: Regenerate.

ChangeLog
config/mt-sde [new file with mode: 0644]
configure
configure.ac

index 6cfa8daf9582352bcb0127796bf2588cae6e38ea..abc60eba92e75a91bf15a6efcbb2caf2cdde568c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2007-08-17  Richard Sandiford  <richard@codesourcery.com>
+           Nigel Stephens  <nigel@mips.com>
+
+       * config/mt-sde: New file.
+       * configure.ac (mips*-sde-elf*): New stanza.  Use config/mt-sde
+       as target_makefile_frag.
+       * configure: Regenerate.
+
 2007-08-16  Alexandre Oliva  <aoliva@redhat.com>
 
        * Makefile.def (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS):
diff --git a/config/mt-sde b/config/mt-sde
new file mode 100644 (file)
index 0000000..e746161
--- /dev/null
@@ -0,0 +1,8 @@
+# We default to building libraries optimised for size.  We switch off
+# sibling-call optimization to permit interlinking of MIPS16 and
+# non-MIPS16 functions. The -mcode-xonly option allows MIPS16
+# libraries to run on Harvard-style split I/D memories, so long as
+# they have the D-to-I redirect for pc-relative loads.
+
+CFLAGS_FOR_TARGET = -Os -fno-optimize-sibling-calls -mcode-xonly
+CXXFLAGS_FOR_TARGET = -Os -fno-optimize-sibling-calls -mcode-xonly
index 7053cb833496238303368d836030faccea2aab36..efc06ae296be7ffbfa1ed48306c8be7643d502b1 100755 (executable)
--- a/configure
+++ b/configure
@@ -5224,6 +5224,9 @@ case "${target}" in
   spu-*-*)
     target_makefile_frag="config/mt-spu"
     ;;
+  mips*-sde-elf*)
+    target_makefile_frag="config/mt-sde"
+    ;;
   *-*-netware*)
     target_makefile_frag="config/mt-netware"
     ;;
index e9eea64e810156bd5466b3241cb3121958c0b891..7353fef3a2a06e9f69c76bb1a935ca4fe0a2a65e 100644 (file)
@@ -1748,6 +1748,9 @@ case "${target}" in
   spu-*-*)
     target_makefile_frag="config/mt-spu"
     ;;
+  mips*-sde-elf*)
+    target_makefile_frag="config/mt-sde"
+    ;;
   *-*-netware*)
     target_makefile_frag="config/mt-netware"
     ;;