aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
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);