* read.c (cons_worker): Don't use #elif; old compilers don't
authorIan Lance Taylor <ian@airs.com>
Thu, 7 Sep 1995 16:35:37 +0000 (16:35 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 7 Sep 1995 16:35:37 +0000 (16:35 +0000)
support it.

gas/ChangeLog
gas/read.c

index 74c1b9a..52f457f 100644 (file)
@@ -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
index cb536d0..3b313eb 100644 (file)
@@ -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);