remove a dead call.
authorChris Lattner <sabre@nondot.org>
Sat, 23 Jan 2010 07:17:54 +0000 (07:17 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 23 Jan 2010 07:17:54 +0000 (07:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94297 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/ELFWriter.cpp

index d1920d0c2df5005e9a4c0a88e72c3c3757c78b08..de45e0982348995b0e55a833624e3b2f6bae042d 100644 (file)
@@ -703,10 +703,6 @@ bool ELFWriter::doFinalization(Module &M) {
        I != E; ++I)
     SymbolList.push_back(ELFSym::getExtSym(*I));
 
-  // Emit non-executable stack note
-  if (MAI->getNonexecutableStackDirective())
-    getNonExecStackSection();
-
   // Emit a symbol for each section created until now, skip null section
   for (unsigned i = 1, e = SectionList.size(); i < e; ++i) {
     ELFSection &ES = *SectionList[i];