forked from OSchip/llvm-project
parent
020dd898fc
commit
1e259e79b9
|
@ -307,7 +307,7 @@ public:
|
||||||
if (ref.target() && ref.target()->name() == "__tls_get_addr") {
|
if (ref.target() && ref.target()->name() == "__tls_get_addr") {
|
||||||
const_cast<Reference &>(ref).setKindValue(R_X86_64_NONE);
|
const_cast<Reference &>(ref).setKindValue(R_X86_64_NONE);
|
||||||
return error_code::success();
|
return error_code::success();
|
||||||
} else
|
}
|
||||||
// Static code doesn't need PLTs.
|
// Static code doesn't need PLTs.
|
||||||
const_cast<Reference &>(ref).setKindValue(R_X86_64_PC32);
|
const_cast<Reference &>(ref).setKindValue(R_X86_64_PC32);
|
||||||
// Handle IFUNC.
|
// Handle IFUNC.
|
||||||
|
|
Loading…
Reference in New Issue