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

--- Comment #3 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=ac8861e30e5c3dc0d00e85b57b1d3683d2d40f57

commit ac8861e30e5c3dc0d00e85b57b1d3683d2d40f57
Author: H.J. Lu <[email protected]>
Date:   Wed Sep 10 12:18:11 2025 -0700

    x86-64: Update R_X86_64_TPOFF32 error message

    Change R_X86_64_TPOFF32 error message from

    relocation R_X86_64_TPOFF32 against symbol `foo' can not be used when
making a shared object; replace local-exec with initial-exec TLS model

    to

    relocation R_X86_64_TPOFF32 against symbol `foo' can not be used when
making a shared object; local-exec is incompatible with -shared

    bfd/

            PR ld/33408
            * elf64-x86-64.c (elf_x86_64_need_pic): Suggest "replace
            local-exec with initial-exec TLS model" for R_X86_64_TPOFF32.

    ld/

            PR ld/33408
            * testsuite/ld-x86-64/tls-le-pic-1-x32.d: Updated.
            * testsuite/ld-x86-64/tls-le-pic-1.d: Likewise.
            * testsuite/ld-x86-64/tls-le-pic-2-x32.d: Likewise.
            * testsuite/ld-x86-64/tls-le-pic-2.d: Likewise.
            * testsuite/ld-x86-64/tls-le-pic-3-x32.d: Likewise.
            * testsuite/ld-x86-64/tls-le-pic-3.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