diff options
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/config/mips/mips.h | 28 |
2 files changed, 21 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4531efe..19b09ee 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * mips.h (MULTILIB_ISA_DEFAULT): Don't use #elif. + 2001-02-04 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.md (movdf load split): Pass register number to diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 19d4b8f..1510ecc 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -502,17 +502,23 @@ extern void sbss_section PARAMS ((void)); #endif #ifndef MULTILIB_ISA_DEFAULT -#if MIPS_ISA_DEFAULT == 1 -#define MULTILIB_ISA_DEFAULT "mips1" -#elif MIPS_ISA_DEFAULT == 2 -#define MULTILIB_ISA_DEFAULT "mips2" -#elif MIPS_ISA_DEFAULT == 3 -#define MULTILIB_ISA_DEFAULT "mips3" -#elif MIPS_ISA_DEFAULT == 4 -#define MULTILIB_ISA_DEFAULT "mips4" -#else -#define MULTILIB_ISA_DEFAULT "mips1" -#endif +# if MIPS_ISA_DEFAULT == 1 +# define MULTILIB_ISA_DEFAULT "mips1" +# else +# if MIPS_ISA_DEFAULT == 2 +# define MULTILIB_ISA_DEFAULT "mips2" +# else +# if MIPS_ISA_DEFAULT == 3 +# define MULTILIB_ISA_DEFAULT "mips3" +# else +# if MIPS_ISA_DEFAULT == 4 +# define MULTILIB_ISA_DEFAULT "mips4" +# else +# define MULTILIB_ISA_DEFAULT "mips1" +# endif +# endif +# endif +# endif #endif #ifndef MULTILIB_DEFAULTS |
