diff options
Diffstat (limited to 'llvm/lib/MC/ELFObjectWriter.cpp')
-rw-r--r-- | llvm/lib/MC/ELFObjectWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/ELFObjectWriter.cpp b/llvm/lib/MC/ELFObjectWriter.cpp index 4665d85..7df9e90 100644 --- a/llvm/lib/MC/ELFObjectWriter.cpp +++ b/llvm/lib/MC/ELFObjectWriter.cpp @@ -1377,7 +1377,7 @@ void ELFObjectWriter::recordRelocation(const MCFragment &F, if (mc::isRelocRelocation(Fixup.getKind())) Type = Fixup.getKind() - FirstLiteralRelocationKind; else - Type = TargetObjectWriter->getRelocType(Ctx, Target, Fixup, IsPCRel); + Type = TargetObjectWriter->getRelocType(Fixup, Target, IsPCRel); bool UseSectionSym = SymA && SymA->getBinding() == ELF::STB_LOCAL && !SymA->isUndefined(); |