summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-17 05:00:23 +0000
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-17 05:00:23 +0000
commit0cf0f7358bd2604b3151ed2bda202b3ed080cd46 (patch)
tree9fb2d9b3e52b4ba2b28c169c6e5e807b57be3e75
parent0473b1af424ff6c843240202c3089655b21780e8 (diff)
downloadppe42-gcc-0cf0f7358bd2604b3151ed2bda202b3ed080cd46.tar.gz
ppe42-gcc-0cf0f7358bd2604b3151ed2bda202b3ed080cd46.zip
* config/mips/mips.h: Don't use #elif. Reported by Kaveh
R. Ghazi. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61425 138bc75d-0d04-0410-961f-82ee72b054a4
-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 cff6712fe0b..fdd89d52af7 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 3e191800114..2514006d181 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\
OpenPOWER on IntegriCloud