summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ELFWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-23 07:17:54 +0000
committerChris Lattner <sabre@nondot.org>2010-01-23 07:17:54 +0000
commite244ff35d851cbb3386e13274b80f3f01ebe2c45 (patch)
tree58773dd7ce8b8e4fd339088e2c57fe6bcde9e665 /llvm/lib/CodeGen/ELFWriter.cpp
parentc55ea3fbcc04cf9c073b1e66381aae5d7315edfa (diff)
downloadbcm5719-llvm-e244ff35d851cbb3386e13274b80f3f01ebe2c45.tar.gz
bcm5719-llvm-e244ff35d851cbb3386e13274b80f3f01ebe2c45.zip
remove a dead call.
llvm-svn: 94297
Diffstat (limited to 'llvm/lib/CodeGen/ELFWriter.cpp')
-rw-r--r--llvm/lib/CodeGen/ELFWriter.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/ELFWriter.cpp b/llvm/lib/CodeGen/ELFWriter.cpp
index d1920d0c2df..de45e098234 100644
--- a/llvm/lib/CodeGen/ELFWriter.cpp
+++ b/llvm/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];
OpenPOWER on IntegriCloud