]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gas: consolidate . latching
authorJan Beulich <jbeulich@suse.com>
Fri, 10 Jan 2025 07:43:02 +0000 (08:43 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 10 Jan 2025 07:43:02 +0000 (08:43 +0100)
commit3f4bbf3c060e888299c4cc14eff52059921bed93
treea45f9b182e531423cb4c2b127a4c6e0edaea196f
parente18fc11e47b91961ef4254323abad2a522725af2
gas: consolidate . latching

... by purging dot_{frag,value}. Right now these two and dot_symbol are
updated independently, which can't be quite right. Centralize .-related
information in dot_symbol, updating it also where previously
dot_{frag,value} were updated. Since S_GET_VALUE() can't be used to
retrieve what used to be dot_value, introduce a new helper to fetch both
frag and offset.
gas/config/tc-ppc.c
gas/expr.c
gas/read.c
gas/symbols.c
gas/symbols.h
gas/write.c
gas/write.h