aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCAssembler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/MC/MCAssembler.cpp')
-rw-r--r--llvm/lib/MC/MCAssembler.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/MC/MCAssembler.cpp b/llvm/lib/MC/MCAssembler.cpp
index 1c79af4..835fa8a 100644
--- a/llvm/lib/MC/MCAssembler.cpp
+++ b/llvm/lib/MC/MCAssembler.cpp
@@ -234,13 +234,6 @@ bool MCAssembler::evaluateFixup(const MCFixup &Fixup, const MCFragment *DF,
}
}
- // A linker relaxation target may emit ADD/SUB relocations for A-B+C. Let
- // recordRelocation handle non-VK_None cases like A@plt-B+C.
- if (!IsResolved && Target.getSymA() && Target.getSubSym() &&
- Target.getRefKind() == 0 &&
- getBackend().handleAddSubRelocations(*this, *DF, Fixup, Target, Value))
- return true;
-
return IsResolved;
}