diff options
author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-01 10:27:36 +0000 |
---|---|---|
committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-01 10:27:36 +0000 |
commit | 557acce79b05c7f74e04744ff857a8dd54c88eb3 (patch) | |
tree | 00edba498e220239a66e7e15db7ee59d3cef869a | |
parent | 4bb9005238af9ef9fcb90ee253c1d525fdf5ef11 (diff) | |
download | gcc-557acce79b05c7f74e04744ff857a8dd54c88eb3.tar.gz |
* config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
the -me[lb] option is given. Don't output the default flag
twice.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49392 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/mips/mips.h | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bd2aa0d022b..419e8696181 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2002-02-01 Alexandre Oliva <aoliva@redhat.com> + + * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if + the -me[lb] option is given. Don't output the default flag + twice. + 2002-01-31 Zack Weinberg <zack@codesourcery.com> * c-lex.c (yyparse): Call debug_hooks->start_source_file for diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 898f9f79ed7..2471cfc5da1 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -577,9 +577,9 @@ extern void sbss_section PARAMS ((void)); #ifndef ENDIAN_SPEC #if TARGET_ENDIAN_DEFAULT == 0 -#define ENDIAN_SPEC "%{!EB:%{!meb:-EL}} %{EL} %{EB}" +#define ENDIAN_SPEC "%{!EB:%{!meb:-EL}} %{EB|meb:-EB}" #else -#define ENDIAN_SPEC "%{!EL:%{!mel:-EB}} %{EB} %{EL}" +#define ENDIAN_SPEC "%{!EL:%{!mel:-EB}} %{EL|mel:-EL}" #endif #endif |