aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-09-07 16:35:37 +0000
committerIan Lance Taylor <ian@airs.com>1995-09-07 16:35:37 +0000
commit94a7312289e4257370b66efc5fc6183bc1749b47 (patch)
tree9cc1b2e92c781c3739bef8a7e3aef8af879033e0 /gas/read.c
parentdee0c69c270296ee0a264102345cb10197169ea8 (diff)
downloadgdb-94a7312289e4257370b66efc5fc6183bc1749b47.zip
gdb-94a7312289e4257370b66efc5fc6183bc1749b47.tar.gz
gdb-94a7312289e4257370b66efc5fc6183bc1749b47.tar.bz2
* read.c (cons_worker): Don't use #elif; old compilers don't
support it.
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c4
1 files changed, 3 insertions, 1 deletions
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);