diff options
author | George Rimar <grimar@accesssoftek.com> | 2015-12-01 19:20:26 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2015-12-01 19:20:26 +0000 |
commit | 90cd0a8234305bc9378752f4ac99f089897cef44 (patch) | |
tree | 54407755566691d2f781328e2f5fdf465aa8f765 /lldb/packages/Python/lldbsuite/test/lang/cpp/scope/TestCppScope.py | |
parent | 96824deebcccab5daf1f04d0b88b8e48bdce32c0 (diff) | |
download | bcm5719-llvm-90cd0a8234305bc9378752f4ac99f089897cef44.tar.gz bcm5719-llvm-90cd0a8234305bc9378752f4ac99f089897cef44.zip |
[ELF] - Fixed bug leading to miss of tls relocation when @tlsgd and @gottpoff relocations were used at the same time.
Combination of @tlsgd and @gottpoff at the same time leads to miss of R_X86_64_TPOFF64 dynamic relocation. Patch fixes that.
@tlsgd(%rip) - Allocate two contiguous entries in the GOT to hold a tls index
structure (for passing to tls get addr).
@gottpoff(%rip) - Allocate one GOT entry to hold a variable offset in initial TLS
block (relative to TLS block end, %fs:0).
The same situation can be observed for x86 (probably others too, not sure) with corresponding for that target relocations: @tlsgd, @gotntpoff.
Differential revision: http://reviews.llvm.org/D15105
llvm-svn: 254443
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/scope/TestCppScope.py')
0 files changed, 0 insertions, 0 deletions