aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2003-01-17 05:00:23 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2003-01-17 05:00:23 +0000
commite1551d4745c2ed8d6bec57aa3994bb0327ae8c3c (patch)
tree9fb2d9b3e52b4ba2b28c169c6e5e807b57be3e75
parenta48cccead82f5aa6007fc204008e2882fe8aa059 (diff)
downloadgcc-e1551d4745c2ed8d6bec57aa3994bb0327ae8c3c.zip
gcc-e1551d4745c2ed8d6bec57aa3994bb0327ae8c3c.tar.gz
gcc-e1551d4745c2ed8d6bec57aa3994bb0327ae8c3c.tar.bz2
mips.h: Don't use #elif.
* config/mips/mips.h: Don't use #elif. Reported by Kaveh R. Ghazi. From-SVN: r61425
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/mips.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cff6712..fdd89d5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-17 Alexandre Oliva <aoliva@redhat.com>
+
+ * config/mips/mips.h: Don't use #elif. Reported by Kaveh
+ R. Ghazi.
+
2003-01-16 Kazu Hirata <kazu@cs.umass.edu>
* ifcvt.c: Fix comment typos.
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index 3e19180..2514006 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -4690,7 +4690,8 @@ while (0)
.set reorder\n\
jal " USER_LABEL_PREFIX #FUNC "\n\
" TEXT_SECTION_ASM_OP);
-#elif (defined _ABIN32 && _MIPS_SIM == _ABIN32) \
+#endif /* Switch to #elif when we're no longer limited by K&R C. */
+#if (defined _ABIN32 && _MIPS_SIM == _ABIN32) \
|| (defined _ABI64 && _MIPS_SIM == _ABI64)
#define CRT_CALL_STATIC_FUNCTION(SECTION_OP, FUNC) \
asm (SECTION_OP "\n\