[LLVMbugs] [Bug 24135] New: R_ARM_TLS_DTPMOD32 uses incorrect symbol when generated for static __thread variable
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jul 15 11:07:16 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24135
Bug ID: 24135
Summary: R_ARM_TLS_DTPMOD32 uses incorrect symbol when
generated for static __thread variable
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: unassignedclangbugs at nondot.org
Reporter: dimitry at google.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
This bug seems to be arm-only, testing for x86 x86_64 yelds expected
ELF_R_SYM(r_info) == 0 - compiling for arm produces following relocation:
...
00003f7c 00000111 R_ARM_TLS_DTPMOD32 00003e20 .tbss
...
1: 00003e20 0 SECTION LOCAL DEFAULT 17
Here is the test I was comliling
static __thread int t = 0;
extern "C" int* get_thread_local_int() {
return &t;
}
--
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/20150715/abe00d3e/attachment.html>
More information about the llvm-bugs
mailing list