[PATCH v2 0/3] gas: dot handling
Jan Beulich
jbeulich@suse.com
Thu Dec 19 10:05:45 GMT 2024
The fallout from dealing with PR gas/27217 has kept bothering me, so I
finally took the time to see whether we can't get things into better
shape. Before it goes in, especially the naming and defaulting aspects
(see the last patches for a respective remark) may want sorting, as in:
potentially doing a little differently. Input appreciated.
1: gas: make deferred expression evaluation generally latch dot
2: aarch64: re-work PR gas/27217 fix again
3: gas: consolidate . latching
Do we really need both define_sym_at_dot() and symbol_set_value_now()? Their
sole differences being that the latter
- also works for local symbols,
- uses symbol_set_frag() and thus S_CLEAR_WEAKREFR() (where it's unclear to me
why such a symbol would need weakrefr cleared, but one passed to
define_sym_at_dot() wouldn't).
Jan
More information about the Binutils
mailing list