diff options
Diffstat (limited to 'llvm/lib/MC')
| -rw-r--r-- | llvm/lib/MC/MachObjectWriter.cpp | 5 | ||||
| -rw-r--r-- | llvm/lib/MC/TargetAsmBackend.cpp | 3 |
2 files changed, 1 insertions, 7 deletions
diff --git a/llvm/lib/MC/MachObjectWriter.cpp b/llvm/lib/MC/MachObjectWriter.cpp index b2258027b1c..619954ca3b0 100644 --- a/llvm/lib/MC/MachObjectWriter.cpp +++ b/llvm/lib/MC/MachObjectWriter.cpp @@ -1123,15 +1123,10 @@ public: UndefinedSymbolData); } - bool IsFixupFullyResolved(const MCAssembler &Asm, const MCValue Target, bool IsPCRel, const MCFragment *DF) const { - // If we aren't using scattered symbols, the fixup is fully resolved. - if (!Asm.getBackend().hasScatteredSymbols()) - return true; - // Otherwise, determine whether this value is actually resolved; scattering // may cause atoms to move. diff --git a/llvm/lib/MC/TargetAsmBackend.cpp b/llvm/lib/MC/TargetAsmBackend.cpp index 156bf19b436..e0653d05ef0 100644 --- a/llvm/lib/MC/TargetAsmBackend.cpp +++ b/llvm/lib/MC/TargetAsmBackend.cpp @@ -11,8 +11,7 @@ using namespace llvm; TargetAsmBackend::TargetAsmBackend() - : HasReliableSymbolDifference(false), - HasScatteredSymbols(false) + : HasReliableSymbolDifference(false) { } |

