diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2016-04-20 21:57:51 +0000 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2016-04-20 21:57:51 +0000 |
commit | 98a4ba54df38879d1f93717ae1851a78597365f8 (patch) | |
tree | 00d48ef5a77411fd506ecdbc79f886546386105b /lldb/packages/Python/lldbsuite/test | |
parent | 0257603c2dc6827a5418b71d904c5dc42f7ce889 (diff) | |
download | bcm5719-llvm-98a4ba54df38879d1f93717ae1851a78597365f8.tar.gz bcm5719-llvm-98a4ba54df38879d1f93717ae1851a78597365f8.zip |
[ELF][MIPS] Treat R_MIPS_TLS_{D}TPREL_HI16/LO16 as relative relocations
These relocations are calculated as S + A - DTPREL or S + A - TPREL,
where DTPREL = TlsVA - 0x8000, TPREL = TlsVA - 0x7000. So the result
is relative to the TLS output section and is not an absolut value
The fix allows to escape creation of unnecessary dynamic relocations
in case of DSO linking.
llvm-svn: 266923
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions