mips.h (ENDIAN_SPEC): Output the endianness flag if the -me[lb] option is given.
authorAlexandre Oliva <aoliva@redhat.com>
Fri, 1 Feb 2002 10:27:36 +0000 (10:27 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Fri, 1 Feb 2002 10:27:36 +0000 (10:27 +0000)
* config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
the -me[lb] option is given.  Don't output the default flag
twice.

From-SVN: r49392

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

index bd2aa0d022bed7a45bb148f4788e88ba25904b54..419e86961819a7ffc09943d896a0440ddd60ad48 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 898f9f79ed7906cf5cf04cb46f5408cc10357708..2471cfc5da15f37f63f73cb7efc552b01cd20218 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