https://sourceware.org/bugzilla/show_bug.cgi?id=20941

--- Comment #3 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jan Beulich <[email protected]>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d1b63466b9ebbe0fcf00409ff473cbc97b365a66

commit d1b63466b9ebbe0fcf00409ff473cbc97b365a66
Author: Jan Beulich <[email protected]>
Date:   Mon Apr 20 08:37:47 2026 +0200

    gas: don't lose addend in snapshot_symbol() when hitting a local symbol

    Unlike the one in PR gas/20941, input doesn't need to be entirely bogus
    for a local symbol to appear here: Local symbols can be created for
    various reasons. If we find one, we have to take exp.X_add_number into
    account. Plus, like for "normal" symbols, we should not add in the
    symbol's value if the result (in resolve_expression()) is still going to
    be O_symbol: The returned value then is relative to the returned symbol.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to