[Top][All Lists]

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

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

From: amodra at gmail dot com
Subject: [Bug binutils/28523] ld.bfd created undefined symbols on ppc64
Date: Tue, 02 Nov 2021 07:30:30 +0000


Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
           Assignee|unassigned at sourceware dot org   |amodra at gmail dot com
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2021-11-02
                 CC|amodra at gmail dot com            |
     Ever confirmed|0                           |1

--- Comment #4 from Alan Modra <amodra at gmail dot com> ---
With the original powerpc64 ELF ABI, which for functions defined both a symbol
on a descriptor and a "dot-symbol" on the code entry point, "bl
.LTHUNK32.lto_priv.0" looks like a call to a function "LTHUNK32.lto_priv.0". 
There doesn't seem to be a descriptor for LTHUNK32.lto_priv.0, which there
should be for this ABI.  That said, the linker does try to deal with all sorts
of horrible code, and in this testcase the only thing going wrong is leaving a
dynamic symbol reference to the (linker supplied) function descriptor symbol. 
I'll see what I can do about removing that unused dynamic symbol.

Gold doesn't error here because it refuses to deal with the old ABI dot-symbols
on calls.

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]