Commit 6c34eff5 authored by Michael J. Spencer's avatar Michael J. Spencer
Browse files

[elf2] Fix R_X86_64_TPOFF32 handling.

For x86-64 the initial executable TLS block is placed directly before the
thread specific data register so compilers can directly access it via
R_X86_64_TPOFF32. Generate the correct (negative) offset for this case.

llvm-svn: 252131
parent 776e4a7d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment