summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCAsmInfoDarwin.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-23 07:21:06 +0000
committerChris Lattner <sabre@nondot.org>2010-01-23 07:21:06 +0000
commit76bdea32900ab533b0c059ec8b71fff59c919632 (patch)
tree2251dacb7d096950344e3ac66269bf2b071110dd /llvm/lib/MC/MCAsmInfoDarwin.cpp
parente244ff35d851cbb3386e13274b80f3f01ebe2c45 (diff)
downloadbcm5719-llvm-76bdea32900ab533b0c059ec8b71fff59c919632.tar.gz
bcm5719-llvm-76bdea32900ab533b0c059ec8b71fff59c919632.zip
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. llvm-svn: 94298
Diffstat (limited to 'llvm/lib/MC/MCAsmInfoDarwin.cpp')
-rw-r--r--llvm/lib/MC/MCAsmInfoDarwin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCAsmInfoDarwin.cpp b/llvm/lib/MC/MCAsmInfoDarwin.cpp
index 8495aa44eca..9902f501e47 100644
--- a/llvm/lib/MC/MCAsmInfoDarwin.cpp
+++ b/llvm/lib/MC/MCAsmInfoDarwin.cpp
@@ -24,6 +24,7 @@ MCAsmInfoDarwin::MCAsmInfoDarwin() {
NeedsSet = true;
AllowQuotesInName = true;
HasSingleParameterDotFile = false;
+ HasSubsectionsViaSymbols = true;
AlignmentIsInBytes = false;
InlineAsmStart = " InlineAsm Start";
OpenPOWER on IntegriCloud