diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2016-09-08 09:07:19 +0000 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2016-09-08 09:07:19 +0000 |
commit | 919a58c4560268b6ba5c4936f960c6cf84b944f2 (patch) | |
tree | eecf543ceec2091d3ba610121f4a5a1251312392 /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp | |
parent | af52f6af22b9c1a56216bb5035f71eb71ac02fc4 (diff) | |
download | bcm5719-llvm-919a58c4560268b6ba5c4936f960c6cf84b944f2.tar.gz bcm5719-llvm-919a58c4560268b6ba5c4936f960c6cf84b944f2.zip |
[ELF][MIPS] Fix initialization of TLS-related GOT entries
This patch allows static linking of TLS code. To do that it fixes
GOT entries initialization.
If TLS-related GOT entry created for a preemptible symbol i.e. has
a corresponding dynamic relocation, leave the entry initialized by zero.
Write down adjusted TLS symbol's values otherwise. For the adjustments
calculation use offsets for thread-local storage.
https://www.linux-mips.org/wiki/NPTL
llvm-svn: 280914
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions