forked from OSchip/llvm-project
parent
bd03c50336
commit
c55b4e25f4
|
@ -566,7 +566,7 @@ void X86_64TargetInfo::relocateTlsGdToIe(uint8_t *Loc, uint8_t *BufEnd,
|
|||
}
|
||||
|
||||
// In some conditions, R_X86_64_GOTTPOFF relocation can be optimized to
|
||||
// R_X86_64_TPOFF32 so that R_X86_64_TPOFF32 so that it does not use GOT.
|
||||
// R_X86_64_TPOFF32 so that it does not use GOT.
|
||||
// This function does that. Read "ELF Handling For Thread-Local Storage,
|
||||
// 5.5 x86-x64 linker optimizations" (http://www.akkadia.org/drepper/tls.pdf)
|
||||
// by Ulrich Drepper for details.
|
||||
|
|
Loading…
Reference in New Issue