Fix ifunc code from r338251 for lld 8.0.
This commit is contained in:
parent
efa7559714
commit
4c14ae3e1e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/clang800-import/; revision=343278
@ -849,7 +849,7 @@ static void processRelocAux(InputSectionBase &Sec, RelExpr Expr, RelType Type,
|
||||
return;
|
||||
}
|
||||
if (Sym.isGnuIFunc() && Config->ZIfuncnoplt) {
|
||||
InX::RelaDyn->addReloc(Type, &Sec, Offset, &Sym, Addend, R_ADDEND, Type);
|
||||
In.RelaDyn->addReloc(Type, &Sec, Offset, &Sym, Addend, R_ADDEND, Type);
|
||||
return;
|
||||
}
|
||||
bool CanWrite = (Sec.Flags & SHF_WRITE) || !Config->ZText;
|
||||
|
Loading…
Reference in New Issue
Block a user