[llvm-commits] [llvm] r94297 - /llvm/trunk/lib/CodeGen/ELFWriter.cpp

Chris Lattner sabre at nondot.org
Fri Jan 22 23:17:55 PST 2010


Author: lattner
Date: Sat Jan 23 01:17:54 2010
New Revision: 94297

URL: http://llvm.org/viewvc/llvm-project?rev=94297&view=rev
Log:
remove a dead call.

Modified:
    llvm/trunk/lib/CodeGen/ELFWriter.cpp

Modified: llvm/trunk/lib/CodeGen/ELFWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/ELFWriter.cpp?rev=94297&r1=94296&r2=94297&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/ELFWriter.cpp (original)
+++ llvm/trunk/lib/CodeGen/ELFWriter.cpp Sat Jan 23 01:17:54 2010
@@ -703,10 +703,6 @@
        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];





More information about the llvm-commits mailing list