[llvm-bugs] [Bug 36977] New: [PPC64] V2 ABI: Implement symbol resolver stubs and set PPC64_GLINK dynamic tag

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 2 13:16:00 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=36977

            Bug ID: 36977
           Summary: [PPC64] V2 ABI: Implement symbol resolver stubs and
                    set PPC64_GLINK dynamic tag
           Product: lld
           Version: unspecified
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: sfertile at ca.ibm.com
                CC: llvm-bugs at lists.llvm.org

The linker must provide a symbol resolver stub for each PLT entry. These
resolver stubs are placed into a .glink section which is merged into the .text
section of the executable/shared-object.

The address of the resolver stubs is communicated to the dynamic linker by a
DT_PPC64_GLINK tag in the dynamic section which has a d_ptr field set to 32
bytes before the first .glink resolver stub.

Each resolver stub consists of a single instruction which branches to a common
resolver entry point.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180402/fc11e716/attachment-0001.html>


More information about the llvm-bugs mailing list