From 4998280fdfafacf3eec44b19de357d2b7ab437fe Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 6 Feb 2014 00:03:15 +0000 Subject: [PATCH] Just returning false is the default. llvm-svn: 200890 --- llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp | 4 ---- llvm/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp | 8 -------- llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp | 4 ---- .../Target/SystemZ/MCTargetDesc/SystemZMCAsmBackend.cpp | 4 ---- 4 files changed, 20 deletions(-) diff --git a/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp b/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp index 698487980c37..a7189f7def28 100644 --- a/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp +++ b/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp @@ -683,10 +683,6 @@ public: MachO::CPU_TYPE_ARM, Subtype); } - - virtual bool doesSectionRequireSymbols(const MCSection &Section) const { - return false; - } }; } // end anonymous namespace diff --git a/llvm/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp b/llvm/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp index 0d420815ea62..3978797ea9d1 100644 --- a/llvm/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp +++ b/llvm/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp @@ -170,10 +170,6 @@ namespace { (is64 ? MachO::CPU_TYPE_POWERPC64 : MachO::CPU_TYPE_POWERPC), MachO::CPU_SUBTYPE_POWERPC_ALL); } - - virtual bool doesSectionRequireSymbols(const MCSection &Section) const { - return false; - } }; class ELFPPCAsmBackend : public PPCAsmBackend { @@ -187,10 +183,6 @@ namespace { bool is64 = getPointerSize() == 8; return createPPCELFObjectWriter(OS, is64, OSABI); } - - virtual bool doesSectionRequireSymbols(const MCSection &Section) const { - return false; - } }; } // end anonymous namespace diff --git a/llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp b/llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp index 82248ee5b4b5..6a42d2811783 100644 --- a/llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp +++ b/llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp @@ -141,10 +141,6 @@ namespace { uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(OSType); return createSparcELFObjectWriter(OS, is64Bit(), OSABI); } - - virtual bool doesSectionRequireSymbols(const MCSection &Section) const { - return false; - } }; } // end anonymous namespace diff --git a/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmBackend.cpp b/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmBackend.cpp index 26a8faeea10b..1098c911bdf1 100644 --- a/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmBackend.cpp +++ b/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmBackend.cpp @@ -70,10 +70,6 @@ public: LLVM_OVERRIDE { return createSystemZObjectWriter(OS, OSABI); } - virtual bool doesSectionRequireSymbols(const MCSection &Section) const - LLVM_OVERRIDE { - return false; - } }; } // end anonymous namespace