forked from OSchip/llvm-project
parent
f8c10aa3a3
commit
bfc20343a3
|
@ -74,8 +74,8 @@ static void resolveReloc(InputSectionBase &Sec, RelT &Rel,
|
|||
return;
|
||||
}
|
||||
|
||||
if (auto *U = dyn_cast<Undefined>(&B))
|
||||
for (InputSectionBase *Sec : CNamedSections.lookup(U->getName()))
|
||||
if (B.isUndefined())
|
||||
for (InputSectionBase *Sec : CNamedSections.lookup(B.getName()))
|
||||
Fn(Sec, 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue