From: Chris Lattner Date: Sat, 23 Jan 2010 07:17:54 +0000 (+0000) Subject: remove a dead call. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=74670b26fc62dce36a9d1d78caa1d481cec5b2eb;p=oota-llvm.git remove a dead call. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94297 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/ELFWriter.cpp b/lib/CodeGen/ELFWriter.cpp index d1920d0c2df..de45e098234 100644 --- a/lib/CodeGen/ELFWriter.cpp +++ b/lib/CodeGen/ELFWriter.cpp @@ -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];