summaryrefslogtreecommitdiff
path: root/gcc/config/mips
diff options
context:
space:
mode:
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-25 13:20:59 +0000
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-25 13:20:59 +0000
commit083d802892e033570afe95b46895c619d5e8356a (patch)
tree3aa1eb0b9059c046159efd27c64cd5145cf8b442 /gcc/config/mips
parent1af9eb910a2c58fc5ca2bd85d0fa015b1ce81805 (diff)
downloadgcc-083d802892e033570afe95b46895c619d5e8356a.tar.gz
Replace occurrences of #elif with #if...#endif.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46489 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips')
-rw-r--r--gcc/config/mips/isa3264.h26
1 files changed, 14 insertions, 12 deletions
diff --git a/gcc/config/mips/isa3264.h b/gcc/config/mips/isa3264.h
index cd25e55ae79..61686445072 100644
--- a/gcc/config/mips/isa3264.h
+++ b/gcc/config/mips/isa3264.h
@@ -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 */