summaryrefslogtreecommitdiff
path: root/gcc/config/mips/sde.h
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-08-17 13:12:22 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-08-17 13:12:22 +0000
commitf8520ad797ec8cbb3919b39111f411babfe46e86 (patch)
tree85348025e1984659c5de01e02a8f9dd3289e02fa /gcc/config/mips/sde.h
parent4ec67f4e476c5096aa4f9b29fafa3898ecf79de6 (diff)
downloadgcc-f8520ad797ec8cbb3919b39111f411babfe46e86.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. 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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127586 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips/sde.h')
-rw-r--r--gcc/config/mips/sde.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/gcc/config/mips/sde.h b/gcc/config/mips/sde.h
index 14a161025d5..d8094c5a6a6 100644
--- a/gcc/config/mips/sde.h
+++ b/gcc/config/mips/sde.h
@@ -36,11 +36,18 @@ Boston, MA 02111-1307, USA. */
/* Remove a redundant -mfp64 for -mabi=n32; we want the !mfp64 \
multilibs. There's no need to check whether the architecture \
is 64-bit; cc1 will complain if it isn't. */ \
- "%{mabi=n32: %<mfp64}" \
+ "%{mabi=n32: %<mfp64}", \
\
/* Make sure that an endian option is always present. This makes \
things like LINK_SPEC easier to write. */ \
- "%{!EB:%{!EL:%(endian_spec)}}"
+ "%{!EB:%{!EL:%(endian_spec)}}", \
+ \
+ /* -mcode-xonly is a traditional alias for -mcode-readable=pcrel and \
+ -mno-data-in-code is a traditional alias for -mcode-readable=no. \
+ The latter trumps the former. */ \
+ "%{mno-data-in-code: -mcode-readable=no}", \
+ "%{!mcode-readable=no: %{mcode-xonly: -mcode-readable=pcrel}}", \
+ "%<mno-data-in-code %<mcode-xonly"
/* Use trap rather than break for all but MIPS I ISA. Force -no-mips16,
so that MIPS16 assembler code requires an explicit ".set mips16".