From 7b62afac0a6f967e7466e60ceb26bfdcff2e59f4 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Fri, 17 Dec 2010 02:06:08 +0000 Subject: MC/Target: Remove HasScatteredSymbols target hook variable, which has been superceded and was effectively dead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122024 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/MC/MachObjectWriter.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib/MC/MachObjectWriter.cpp') diff --git a/lib/MC/MachObjectWriter.cpp b/lib/MC/MachObjectWriter.cpp index b2258027b1..619954ca3b 100644 --- a/lib/MC/MachObjectWriter.cpp +++ b/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. -- cgit v1.2.3