aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorrsandifo <>2007-08-17 12:12:22 +0000
committerrsandifo <>2007-08-17 12:12:22 +0000
commit9bca4cf601b4bf185565ea75ea973fb4fae3ea66 (patch)
tree85348025e1984659c5de01e02a8f9dd3289e02fa /config
parent568dd78e2bed5c11d04a7d1c0064cab8187d8195 (diff)
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. gcc/ 2007-08-17 Richard Sandiford <richard@codesourcery.com> Nigel Stephens <nigel@mips.com> * config/mips/sde.h (DRIVER_SELF_SPECS): Add commas. Treat -mno-data-in-code and -mcode-xonly as aliases for -mcode-readable=no and -mcode-readable=pcrel respectively. * config/mips/t-sde (TARGET_LIBGCC2_CFLAGS): Add -mcode-xonly. (MULTILIB_OPTIONS): Add -mcode-readable=no multilibs. (MULTILIB_DIRNAMES): Update accordingly.
Diffstat (limited to 'config')
-rw-r--r--config/mt-sde8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/mt-sde b/config/mt-sde
new file mode 100644
index 00000000000..e74616105cf
--- /dev/null
+++ b/config/mt-sde
@@ -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