forked from OSchip/llvm-project
parent
54945f692b
commit
2df72898c8
|
@ -66,7 +66,6 @@ getSymVA(const SymbolBody &Body, typename ELFFile<ELFT>::uintX_t &Addend) {
|
||||||
return 0;
|
return 0;
|
||||||
if (SS.IsFunc)
|
if (SS.IsFunc)
|
||||||
return Body.getPltVA<ELFT>();
|
return Body.getPltVA<ELFT>();
|
||||||
else
|
|
||||||
return Out<ELFT>::Bss->getVA() + SS.OffsetInBss;
|
return Out<ELFT>::Bss->getVA() + SS.OffsetInBss;
|
||||||
}
|
}
|
||||||
case SymbolBody::UndefinedElfKind:
|
case SymbolBody::UndefinedElfKind:
|
||||||
|
|
Loading…
Reference in New Issue