bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/28523] ld.bfd created undefined symbols on ppc64


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/28523] ld.bfd created undefined symbols on ppc64
Date: Wed, 03 Nov 2021 00:18:43 +0000

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

--- Comment #6 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Alan Modra <amodra@sourceware.org>:

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

commit a442059f66075e4e503c43b119cc8b7de04e5718
Author: Alan Modra <amodra@gmail.com>
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.

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]