[v2,0/3] gas: dot handling

Message ID 1b2e3ae2-142d-43cc-8672-2c3aa04477ca@suse.com
Headers
Series gas: dot handling |

Message

Jan Beulich Dec. 19, 2024, 10:05 a.m. UTC
  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