forked from OSchip/llvm-project
parent
b47c6e5cbd
commit
23db636080
|
@ -698,8 +698,7 @@ void MipsGotSection::addEntry(SymbolBody &Sym, int64_t Addend, RelExpr Expr) {
|
|||
// sections referenced by GOT relocations. Then later in the `finalize`
|
||||
// method calculate number of "pages" required to cover all saved output
|
||||
// section and allocate appropriate number of GOT entries.
|
||||
auto *DefSym = cast<DefinedRegular>(&Sym);
|
||||
PageIndexMap.insert({DefSym->Section->getOutputSection(), 0});
|
||||
PageIndexMap.insert({Sym.getOutputSection(), 0});
|
||||
return;
|
||||
}
|
||||
if (Sym.isTls()) {
|
||||
|
|
Loading…
Reference in New Issue