Force the MachO generated for Darwin to have VERSION_MIN load command
[oota-llvm.git] / lib / MC / MCAsmInfoELF.cpp
index cd61a43afc4becdb49f5f7900a02528c48f23146..2bff6e059663751be310c777094e8dda95b81bad 100644 (file)
@@ -20,8 +20,7 @@ using namespace llvm;
 
 void MCAsmInfoELF::anchor() { }
 
-const MCSection *
-MCAsmInfoELF::getNonexecutableStackSection(MCContext &Ctx) const {
+MCSection *MCAsmInfoELF::getNonexecutableStackSection(MCContext &Ctx) const {
   return Ctx.getELFSection(".note.GNU-stack", ELF::SHT_PROGBITS, 0);
 }