Simplify handling of --noexecstack by using getNonexecutableStackSection.
[oota-llvm.git] / lib / MC / MCStreamer.cpp
index 2bfb9ba15999293869559513d4bd9803edc1705b..f11ee669b4b6837c5634e3ac469ecb37ce7e3be5 100644 (file)
@@ -182,7 +182,7 @@ void MCStreamer::EmitEHSymAttributes(const MCSymbol *Symbol,
                                      MCSymbol *EHSymbol) {
 }
 
-void MCStreamer::InitSections() {
+void MCStreamer::InitSections(bool NoExecStack) {
   SwitchSection(getContext().getObjectFileInfo()->getTextSection());
 }