From 557acce79b05c7f74e04744ff857a8dd54c88eb3 Mon Sep 17 00:00:00 2001 From: aoliva Date: Fri, 1 Feb 2002 10:27:36 +0000 Subject: [PATCH] * 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 --- gcc/ChangeLog | 6 ++++++ gcc/config/mips/mips.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bd2aa0d..419e869 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2002-02-01 Alexandre Oliva + + * 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 * 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 898f9f7..2471cfc 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 -- 2.7.4