diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2001-02-04 12:11:51 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2001-02-04 12:11:51 +0000 |
commit | 7ce2fcb9395a180601a692711d47c31716a93dc1 (patch) | |
tree | 2ac2a20f4a24ad2dce48e631ab282601dafb8c29 /gcc | |
parent | b6c023281361cb51c4d580b6aa1331025a082ddc (diff) | |
download | gcc-7ce2fcb9395a180601a692711d47c31716a93dc1.zip gcc-7ce2fcb9395a180601a692711d47c31716a93dc1.tar.gz gcc-7ce2fcb9395a180601a692711d47c31716a93dc1.tar.bz2 |
* mips.h (MULTILIB_ISA_DEFAULT): Don't use #elif.
From-SVN: r39441
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 |