* config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Feb 2002 10:27:36 +0000 (10:27 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Feb 2002 10:27:36 +0000 (10:27 +0000)
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

gcc/ChangeLog
gcc/config/mips/mips.h

index bd2aa0d..419e869 100644 (file)
@@ -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
index 898f9f7..2471cfc 100644 (file)
@@ -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