diff options
author | Richard Sandiford <richard@codesourcery.com> | 2007-08-17 13:12:22 +0000 |
---|---|---|
committer | Richard Sandiford <richard@codesourcery.com> | 2007-08-17 13:12:22 +0000 |
commit | 336c3f1050d78ffe9a3d00e4139a7d03464fd233 (patch) | |
tree | 85348025e1984659c5de01e02a8f9dd3289e02fa /config | |
parent | 42c59ad79b9891c0c008d3dab531f518afc5ec01 (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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@127586 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config')
-rw-r--r-- | config/mt-sde | 8 |
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 |