Replace occurrences of #elif with #if...#endif.
authorNick Clifton <nickc@cambridge.redhat.com>
Thu, 25 Oct 2001 13:20:59 +0000 (13:20 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Thu, 25 Oct 2001 13:20:59 +0000 (13:20 +0000)
From-SVN: r46489

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

index 0c05ec90b9a4327b636430e7dc2f3cac796600ef..44d633a1a03333e3360274a05b09154670cd37ab 100644 (file)
@@ -1,3 +1,8 @@
+2001-10-25  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Replace
+       occurrences of #elif with #if...#endif.
+
 2001-10-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * cris.h (EH_RETURN_DATA_REGNO): Fix unsigned>=0 warning.
index cd25e55ae79269d2a0e9f70d4b536e3a9ac297e4..61686445072ac5c66326222a9c67b1dcd54aa9d3 100644 (file)
@@ -41,7 +41,7 @@ Boston, MA 02111-1307, USA.  */
    ABI_{EABI,O64,O32,...} are #defined. */
 
 #if MIPS_ABI_DEFAULT == ABI_EABI
-#undef SUBTARGET_CPP_SIZE_SPEC
+#undef  SUBTARGET_CPP_SIZE_SPEC
 #define SUBTARGET_CPP_SIZE_SPEC "\
 %{mabi=eabi|!mabi=*:\
   %{mips1|mips2|mips32|mlong32: -D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int} \
@@ -51,8 +51,10 @@ Boston, MA 02111-1307, USA.  */
  %{!mlong64:-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int}} \
 %{mabi=32:-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int} \
 "
-#elif MIPS_ABI_DEFAULT == ABI_O64
-#undef SUBTARGET_CPP_SIZE_SPEC
+#endif
+
+#if MIPS_ABI_DEFAULT == ABI_O64
+#undef  SUBTARGET_CPP_SIZE_SPEC
 #define SUBTARGET_CPP_SIZE_SPEC "\
 %{mabi=eabi:\
   %{mips1|mips2|mips32|mlong32: -D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int} \
@@ -62,10 +64,11 @@ Boston, MA 02111-1307, USA.  */
  %{!mlong64:-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int}} \
 %{mabi=32:-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int} \
 "
+#endif
 
-#elif MIPS_ABI_DEFAULT == ABI_32
+#if MIPS_ABI_DEFAULT == ABI_32
 #if MIPS_ISA_DEFAULT == 3 || MIPS_ISA_DEFAULT == 4 || MIPS_ISA_DEFAULT == 5 || MIPS_ISA_DEFAULT == 64
-#undef SUBTARGET_CPP_SIZE_SPEC
+#undef  SUBTARGET_CPP_SIZE_SPEC
 #define SUBTARGET_CPP_SIZE_SPEC "\
 %{mabi=eabi:\
   %{mips1|mips2|mips32|mlong32: -D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int} \
@@ -76,7 +79,7 @@ Boston, MA 02111-1307, USA.  */
 %{mabi=32:-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int} \
 "
 #else /* not a 64bit default ISA */
-#undef SUBTARGET_CPP_SIZE_SPEC
+#undef  SUBTARGET_CPP_SIZE_SPEC
 #define SUBTARGET_CPP_SIZE_SPEC "\
 %{mabi=eabi:\
   %{mips3|mips4|mips5|mips64|mlong64:-D__SIZE_TYPE__=long\\ unsigned\\ int -D__PTRDIFF_TYPE__=long\\ int} \
@@ -93,8 +96,9 @@ Boston, MA 02111-1307, USA.  */
   -D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int}}}}} \
 "
 #endif /* ISA */
+#endif
 
-#elif MIPS_ABI_DEFAULT == ABI_MEABI
+#if MIPS_ABI_DEFAULT == ABI_MEABI
 /* For MEABI, don't link with crt0 files, let the linker start files specify
    the appropriate crt0 file.  */
 #undef  STARTFILE_SPEC
@@ -109,7 +113,7 @@ Boston, MA 02111-1307, USA.  */
    handle overriding mlong32 with mlong64 and vise-versa, the specs cannot. */
 
 #if MIPS_ISA_DEFAULT == 3 || MIPS_ISA_DEFAULT == 4 || MIPS_ISA_DEFAULT == 5 || MIPS_ISA_DEFAULT == 64
-#undef SUBTARGET_CPP_SIZE_SPEC
+#undef  SUBTARGET_CPP_SIZE_SPEC
 #define SUBTARGET_CPP_SIZE_SPEC "\
 %{mabi=meabi:\
   %{mips1|mips2|mips32|mlong32: -D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int} \
@@ -126,7 +130,7 @@ Boston, MA 02111-1307, USA.  */
 "
 
 #else /* not a 64bit default ISA */
-#undef SUBTARGET_CPP_SIZE_SPEC
+#undef  SUBTARGET_CPP_SIZE_SPEC
 #define SUBTARGET_CPP_SIZE_SPEC "\
 %{mabi=meabi:\
   %{mips3|mips4|mips5|mips64|mlong64:-D__SIZE_TYPE__=long\\ unsigned\\ int -D__PTRDIFF_TYPE__=long\\ int} \
@@ -142,7 +146,5 @@ Boston, MA 02111-1307, USA.  */
  %{!mlong64:-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int }} \
 "
 #endif /* ISA */
+#endif
 
-#endif /* ABI */
-
-/* eof */