summaryrefslogtreecommitdiff
path: root/lib/CodeGen
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
commit74670b26fc62dce36a9d1d78caa1d481cec5b2eb (patch)
treece9273cd270eed007b352bd64ce5a56f1f1f4f13 /lib/CodeGen
parent1b46f433e02155daba8ed3b1269c86ce63c9713b (diff)
downloadllvm-74670b26fc62dce36a9d1d78caa1d481cec5b2eb.tar.gz
llvm-74670b26fc62dce36a9d1d78caa1d481cec5b2eb.tar.bz2
llvm-74670b26fc62dce36a9d1d78caa1d481cec5b2eb.tar.xz
remove a dead call.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94297 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/ELFWriter.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/CodeGen/ELFWriter.cpp b/lib/CodeGen/ELFWriter.cpp
index d1920d0c2d..de45e09823 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];