diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2019-01-21 20:22:11 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2019-01-21 20:22:11 +0000 |
commit | 4c14ae3e1e640c9619ec11dfe3c69d32bf30f668 (patch) | |
tree | 7d366df6ae8194c7880fb34126c9b2b66c5d90d8 /contrib/llvm/tools/lld | |
parent | efa7559714349bcf055075fd455f37d2419cd560 (diff) |
Fix ifunc code from r338251 for lld 8.0.
Notes
Notes:
svn path=/projects/clang800-import/; revision=343278
Diffstat (limited to 'contrib/llvm/tools/lld')
-rw-r--r-- | contrib/llvm/tools/lld/ELF/Relocations.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm/tools/lld/ELF/Relocations.cpp b/contrib/llvm/tools/lld/ELF/Relocations.cpp index 515a6dedee50..7082bce77405 100644 --- a/contrib/llvm/tools/lld/ELF/Relocations.cpp +++ b/contrib/llvm/tools/lld/ELF/Relocations.cpp @@ -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; |