summaryrefslogtreecommitdiff
path: root/config/mt-sde
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@nildram.co.uk>2007-08-17 13:15:24 +0000
committerRichard Sandiford <rsandifo@nildram.co.uk>2007-08-17 13:15:24 +0000
commit858ff4c52eaa523bdf42dbdc0685bead0a5fd73f (patch)
treebb5ef4a80dfd657032d3f258cf8e9bfc09c16797 /config/mt-sde
parentc1534821bec8976ef638057c1a35bb3e35228a4b (diff)
downloadgdb-858ff4c52eaa523bdf42dbdc0685bead0a5fd73f.tar.gz
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.
Diffstat (limited to 'config/mt-sde')
-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