forked from OSchip/llvm-project
[ELF] Use static function isPreemptible instead of SymbolBody::isPreemptible. NFC
Just for consistency with other parts of the code. llvm-svn: 272390
This commit is contained in:
parent
311b4b15e1
commit
9b861181f9
|
@ -139,7 +139,7 @@ static unsigned handleTlsRelocation(uint32_t Type, SymbolBody &Body,
|
|||
|
||||
// If the symbol is preemptible we need the dynamic linker to write
|
||||
// the offset too.
|
||||
if (Body.isPreemptible())
|
||||
if (isPreemptible(Body, Type))
|
||||
Out<ELFT>::RelaDyn->addReloc({Target->TlsOffsetRel, Out<ELFT>::Got,
|
||||
Off + (uintX_t)sizeof(uintX_t), false,
|
||||
&Body, 0});
|
||||
|
|
Loading…
Reference in New Issue