aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2007-08-17 13:12:22 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2007-08-17 13:12:22 +0000
commit4bf6c438d2117f8473b36b84eb8bd44487631efa (patch)
tree85348025e1984659c5de01e02a8f9dd3289e02fa /config
parent000007c53553607813c99368b67c2691bf11eab9 (diff)
downloadgcc-4bf6c438d2117f8473b36b84eb8bd44487631efa.zip
gcc-4bf6c438d2117f8473b36b84eb8bd44487631efa.tar.gz
gcc-4bf6c438d2117f8473b36b84eb8bd44487631efa.tar.bz2
mt-sde: New file.
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. Co-Authored-By: Nigel Stephens <nigel@mips.com> From-SVN: r127586
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 0000000..e746161
--- /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