Revert a series of commits starting at r228886 which is triggering some
[oota-llvm.git] / lib / MC / MCSectionELF.cpp
index da3868273a7759a1ab8e318f430b67a567aedff1..fb364c87a034dd15ebf42cf7e225dc326ffb42e3 100644 (file)
@@ -24,9 +24,6 @@ MCSectionELF::~MCSectionELF() {} // anchor.
 bool MCSectionELF::ShouldOmitSectionDirective(StringRef Name,
                                               const MCAsmInfo &MAI) const {
 
-  if (Unique)
-    return false;
-
   // FIXME: Does .section .bss/.data/.text work everywhere??
   if (Name == ".text" || Name == ".data" ||
       (Name == ".bss" && !MAI.usesELFSectionDirectiveForBSS()))
@@ -147,10 +144,6 @@ void MCSectionELF::PrintSwitchToSection(const MCAsmInfo &MAI,
     printName(OS, Group->getName());
     OS << ",comdat";
   }
-
-  if (Unique)
-    OS << ",unique";
-
   OS << '\n';
 
   if (Subsection)