aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2024-12-03 10:47:36 +0100
committerJan Beulich <jbeulich@suse.com>2024-12-03 10:47:36 +0100
commit29f84cf8a214db79fe28c6d7d4a1e242783555c4 (patch)
treef24b271675ce3e17fa91e1da63877c63d2ff1d9e /gdb
parent98439a80cce3ba652ef4bd4cc69c0b7a04c2c60e (diff)
downloadbinutils-29f84cf8a214db79fe28c6d7d4a1e242783555c4.zip
binutils-29f84cf8a214db79fe28c6d7d4a1e242783555c4.tar.gz
binutils-29f84cf8a214db79fe28c6d7d4a1e242783555c4.tar.bz2
gas: streamline expr_build_dot()
There's no point involving symbol_clone_if_forward_ref(), just for it to replace dot_symbol by one obtained from symbol_temp_new_now(). For the abs-section case also produce a slightly more "complete" (as in: all potentially relevant fields filled) expression by going through expr_build_uconstant(). Move the function next to current_location(), for it to be easier to see the (dis)similarities. Correct the function's comment while there.
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions