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

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

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

commit 163028070ec223bae0bf752b3a1385efb86e0539
Author: H.J. Lu <[email protected]>
Date:   Thu Aug 27 15:49:08 2026 +0800

    lto: Set resolution to LDPR_PREVAILING_DEF for regular common symbol

    Since size or alignment of common symbol may be overridden by another
    common symbol, set symbol resolution to LDPR_PREVAILING_DEF, instead of
    LDPR_RESOLVED_EXEC, for common symbol in regular object when seeing an
    undefined or common symbol from an IR object.

            PR ld/34570
            * plugin.c (get_symbols): Set resolution to LDPR_PREVAILING_DEF
            for common symbol in regular object.
            * testsuite/ld-plugin/pr34570a.c: New file.
            * testsuite/ld-plugin/pr34570a.d: Likewise.
            * testsuite/ld-plugin/pr34570b.c: Likewise.
            * testsuite/ld-plugin/pr34570b.d: Likewise.
            * testsuite/ld-plugin/pr34570c.c: Likewise.
            * testsuite/ld-plugin/pr34570c.d: Likewise.

    Signed-off-by: H.J. Lu <[email protected]>

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

Reply via email to