aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/read.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 74c1b9a..52f457f 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+Thu Sep 7 12:33:58 1995 Ian Lance Taylor <ian@cygnus.com>
+
+ * read.c (cons_worker): Don't use #elif; old compilers don't
+ support it.
+
Wed Sep 6 21:13:06 1995 Ian Lance Taylor <ian@cygnus.com>
* app.c (do_scrub_chars): In MRI mode, silently end quoted strings
diff --git a/gas/read.c b/gas/read.c
index cb536d0..3b313eb 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -2435,11 +2435,13 @@ cons_worker (nbytes, rva)
#ifdef BFD_ASSEMBLER
reloc = BFD_RELOC_RVA;
-#elif defined(TC_RVA_RELOC)
+#else
+#ifdef TC_RVA_RELOC
reloc = TC_RVA_RELOC;
#else
abort();
#endif
+#endif
fix_new_exp (frag_now, p - frag_now->fr_literal,
nbytes, &exp, 0, reloc);