aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2021-06-14 08:18:07 +0200
committerJan Beulich <jbeulich@suse.com>2021-06-14 08:18:07 +0200
commit4981807e06a7d274c22c25f342c3e37b29a2bc0c (patch)
treeb947a4bc63cccc402341e20f947c3cfd7a11f62e /gas/read.c
parent92a3f613632902b6ccb2b285d6f21b89cc9e1f6b (diff)
downloadgdb-4981807e06a7d274c22c25f342c3e37b29a2bc0c.zip
gdb-4981807e06a7d274c22c25f342c3e37b29a2bc0c.tar.gz
gdb-4981807e06a7d274c22c25f342c3e37b29a2bc0c.tar.bz2
gas: drop TC_ADDRESS_BYTES conditionals
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). Also adjust documentation to reflect this.
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gas/read.c b/gas/read.c
index 670f316..380281d 100644
--- 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=.word, 4=.long. */
return;
}
-#ifdef TC_ADDRESS_BYTES
if (nbytes == 0)
nbytes = TC_ADDRESS_BYTES ();
-#endif
#ifdef md_cons_align
md_cons_align (nbytes);