summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-12-17 02:06:08 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-12-17 02:06:08 +0000
commitd2867f13a0252043c3d88b9d7f94b8a057579ec2 (patch)
tree134b0a28cebe41e2316510d69614a8768af6b44b /llvm/lib/MC
parente491ea46302d2d5d164ce312ed51438880d6e4f3 (diff)
downloadbcm5719-llvm-d2867f13a0252043c3d88b9d7f94b8a057579ec2.tar.gz
bcm5719-llvm-d2867f13a0252043c3d88b9d7f94b8a057579ec2.zip
MC/Target: Remove HasScatteredSymbols target hook variable, which has been
superceded and was effectively dead. llvm-svn: 122024
Diffstat (limited to 'llvm/lib/MC')
-rw-r--r--llvm/lib/MC/MachObjectWriter.cpp5
-rw-r--r--llvm/lib/MC/TargetAsmBackend.cpp3
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)
{
}
OpenPOWER on IntegriCloud