[llvm-bugs] [Bug 30967] New: PPC64 SYSV ABI is defaulting to LocalExec/InitialExec TLS models and not PIC-safe

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Nov 9 15:31:29 PST 2016


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

            Bug ID: 30967
           Summary: PPC64 SYSV ABI is defaulting to LocalExec/InitialExec
                    TLS models and not PIC-safe
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: PowerPC
          Assignee: unassignedbugs at nondot.org
          Reporter: joerg at NetBSD.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 17574
  --> https://llvm.org/bugs/attachment.cgi?id=17574&action=edit
PoC patch

The PPC64 SYSV ABI is assumed to be PIC by default, e.g. as discussed in PR
30868. This assumption is currently violated by the TLS default method. The
attached patch is a proof-of-concept for a potential fix.

-- 
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/20161109/e606b3bd/attachment.html>


More information about the llvm-bugs mailing list