diff options
author | George Rimar <grimar@accesssoftek.com> | 2015-12-21 10:37:33 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2015-12-21 10:37:33 +0000 |
commit | 0b8ed1d16259fa845fe708819069e068eef172e2 (patch) | |
tree | e011702178016606a3f05465104e5149a1a7fd9b /lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py | |
parent | a07ff66112131109d8b3658d9fd3c600ad316c89 (diff) | |
download | bcm5719-llvm-0b8ed1d16259fa845fe708819069e068eef172e2.tar.gz bcm5719-llvm-0b8ed1d16259fa845fe708819069e068eef172e2.zip |
[ELF] - fixed not properly handled @GOTTPOFF relocation against local symbols
This patch changes sequence of applying relocations, moving tls optimized relocation handling code before code for other locals.
Without that change relocation @GOTTPOFF against local symbol caused runtime error ("unrecognized reloc ...").
That change also should fix other tls optimized relocations, but I did not check them, that's a field for another patch.
R_X86_64_GOTTPOFF relocations against locals can be found when linking against libc.a(malloc.o):
000000000036 000600000016 R_X86_64_GOTTPOFF 0000000000000000 libc_tsd_MALLOC - 4
000000000131 000600000016 R_X86_64_GOTTPOFF 0000000000000000 libc_tsd_MALLOC - 4
Differential revision: http://reviews.llvm.org/D15581
llvm-svn: 256145
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py')
0 files changed, 0 insertions, 0 deletions