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

--- Comment #7 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_37-branch branch has been updated by Alan Modra
<[email protected]>:

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

commit b1d7b59622f9941e7fa72418b7a41f148d83155e
Author: Alan Modra <[email protected]>
Date:   Tue Nov 2 19:01:06 2021 +1030

    PR28523, ld.bfd created undefined symbols on ppc64

    This patch removes any fake (linker created) function descriptor
    symbol if its code entry symbol isn't dynamic, to ensure bogus dynamic
    symbols are not created.  The change to func_desc_adjust requires that
    it be run only once, which means ppc64_elf_tls_setup can't call it for
    just a few selected symbols.

            PR 28523
            * elf64-ppc.c (func_desc_adjust): If a function entry sym is
            not dynamic and has no plt entry, hide any associated fake
            function descriptor symbol.
            (ppc64_elf_edit): Move func_desc_adjust iteration over syms to..
            (ppc64_elf_tls_setup): ..here.

    (cherry picked from commit a442059f66075e4e503c43b119cc8b7de04e5718)

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

Reply via email to