resolve a fixme: the "nonexecutable stack directive" is actually
authorChris Lattner <sabre@nondot.org>
Sat, 23 Jan 2010 07:21:06 +0000 (07:21 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 23 Jan 2010 07:21:06 +0000 (07:21 +0000)
commitf9f93e4388962b678fd59b7af5212d4cc0d38be2
tree7533118fbe3bf30c1f6291cf882a8936a59e78f3
parent74670b26fc62dce36a9d1d78caa1d481cec5b2eb
resolve a fixme: the "nonexecutable stack directive" is actually
a .section.  Switch to it with SwitchSection.

However, I think that this directive should be safe on any ELF target.
If so, we should hoist it up out of the X86 and SystemZ targets.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94298 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCAsmInfo.h
include/llvm/MC/MCSectionELF.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/MC/MCAsmInfo.cpp
lib/MC/MCAsmInfoDarwin.cpp
lib/Target/SystemZ/SystemZMCAsmInfo.cpp
lib/Target/SystemZ/SystemZMCAsmInfo.h
lib/Target/X86/X86MCAsmInfo.cpp
lib/Target/X86/X86MCAsmInfo.h