diff --git a/lld/ELF/Relocations.cpp b/lld/ELF/Relocations.cpp --- a/lld/ELF/Relocations.cpp +++ b/lld/ELF/Relocations.cpp @@ -1024,7 +1024,7 @@ (type == R_HEX_GD_PLT_B22_PCREL || type == R_HEX_GD_PLT_B22_PCREL_X || type == R_HEX_GD_PLT_B32_PCREL_X))) - expr = fromPlt(expr); + expr = fromPlt(expr); } else if (!isAbsoluteValue(sym)) { expr = target->adjustGotPcExpr(type, addend, sec->rawData.data() + offset);