| commit | 348731aeed4b5974f4ba6f6eebd0d3a19d5632d2 | [log] [tgz] |
|---|---|---|
| author | Fangrui Song <maskray@google.com> | Sat May 18 00:43:10 2019 +0000 |
| committer | Fangrui Song <maskray@google.com> | Sat May 18 00:43:10 2019 +0000 |
| tree | 2a0f5bd05bc15fbd7e03aebbc4a9758cfe9e09e8 | |
| parent | f9399de525e590501dae59b0f178bbd860a37942 [diff] |
[ELF] Fix TP offset of TLS Variant I after D62059 As Ryan Prichard pointed out, after D62059, the TP offset is incorrect. Add x86-64-tls-le-align.s to check this. Better formulae for both variants should take p_vaddr%p_align into account (offset%p_align = p_vaddr%p_align is a basic ELF requirement), but I can't find a way to test the behavior. llvm-svn: 361084