From: Ian Lance Taylor Date: Thu, 7 Sep 1995 16:35:37 +0000 (+0000) Subject: * read.c (cons_worker): Don't use #elif; old compilers don't X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=94a7312289e4257370b66efc5fc6183bc1749b47;p=binutils-gdb.git * read.c (cons_worker): Don't use #elif; old compilers don't support it. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 74c1b9ac1de..52f457f65d7 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +Thu Sep 7 12:33:58 1995 Ian Lance Taylor + + * read.c (cons_worker): Don't use #elif; old compilers don't + support it. + Wed Sep 6 21:13:06 1995 Ian Lance Taylor * app.c (do_scrub_chars): In MRI mode, silently end quoted strings diff --git a/gas/read.c b/gas/read.c index cb536d0e159..3b313ebbad5 100644 --- a/gas/read.c +++ b/gas/read.c @@ -2435,10 +2435,12 @@ 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);