From 7ce2fcb9395a180601a692711d47c31716a93dc1 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Sun, 4 Feb 2001 12:11:51 +0000 Subject: [PATCH] * mips.h (MULTILIB_ISA_DEFAULT): Don't use #elif. From-SVN: r39441 --- gcc/ChangeLog | 4 ++++ 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 + + * mips.h (MULTILIB_ISA_DEFAULT): Don't use #elif. + 2001-02-04 Alexandre Oliva * 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 -- 2.7.4