X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FMC%2FMCAsmInfoELF.cpp;h=2bff6e059663751be310c777094e8dda95b81bad;hb=6277e1f6627bcaa7883c6cb355fe8786127c4f14;hp=cd61a43afc4becdb49f5f7900a02528c48f23146;hpb=9936b80df5a766d645131b84fb1ab6b131f5ba58;p=oota-llvm.git diff --git a/lib/MC/MCAsmInfoELF.cpp b/lib/MC/MCAsmInfoELF.cpp index cd61a43afc4..2bff6e05966 100644 --- a/lib/MC/MCAsmInfoELF.cpp +++ b/lib/MC/MCAsmInfoELF.cpp @@ -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); }