[PATCH] gas: drop TC_ADDRESS_BYTES conditionals
Jan Beulich
jbeulich@suse.com
Thu Jun 10 11:36:23 GMT 2021
I've been repeatedly confused by, in particular, the .dc.a potable[]
entry being conditional. Grepping in gas/config/ reveals only very few
targets actually #define-ing it. But as of 7be1c4891a20 the symbol is
always defined, so #ifdef-s are pointless (and, as said, potentially
confusing).
gas/
2021-06-XX Jan Beulich <jbeulich@suse.com>
* read.c (potable, cons_worker): Drop TC_ADDRESS_BYTES
conditional.
--- a/gas/read.c
+++ b/gas/read.c
@@ -364,9 +364,7 @@ static const pseudo_typeS potable[] = {
{"common.s", s_mri_common, 1},
{"data", s_data, 0},
{"dc", cons, 2},
-#ifdef TC_ADDRESS_BYTES
{"dc.a", cons, 0},
-#endif
{"dc.b", cons, 1},
{"dc.d", float_cons, 'd'},
{"dc.l", cons, 4},
@@ -4095,10 +4093,8 @@ cons_worker (int nbytes, /* 1=.byte, 2=.
return;
}
-#ifdef TC_ADDRESS_BYTES
if (nbytes == 0)
nbytes = TC_ADDRESS_BYTES ();
-#endif
#ifdef md_cons_align
md_cons_align (nbytes);
More information about the Binutils
mailing list