[llvm-bugs] [Bug 32437] New: LLD does not set DF_STATIC_TLS

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Mar 27 13:06:34 PDT 2017


http://bugs.llvm.org/show_bug.cgi?id=32437

            Bug ID: 32437
           Summary: LLD does not set DF_STATIC_TLS
           Product: lld
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: ruiu at google.com
                CC: llvm-bugs at lists.llvm.org

If a DSO accesses TLS variables without __tls_get_addr (i.e. it uses initial
exec or local exec), the DSO cannot be used for dlopen(). Linkers are expected
to set the DF_STATIC_TLS flag for such DSOs. Currently, LLD does not set that
flag.

-- 
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/20170327/65b76fa5/attachment.html>


More information about the llvm-bugs mailing list