diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-23 07:21:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-23 07:21:06 +0000 |
commit | f9f93e4388962b678fd59b7af5212d4cc0d38be2 (patch) | |
tree | 7533118fbe3bf30c1f6291cf882a8936a59e78f3 /lib/MC/MCAsmInfoDarwin.cpp | |
parent | 74670b26fc62dce36a9d1d78caa1d481cec5b2eb (diff) | |
download | llvm-f9f93e4388962b678fd59b7af5212d4cc0d38be2.tar.gz llvm-f9f93e4388962b678fd59b7af5212d4cc0d38be2.tar.bz2 llvm-f9f93e4388962b678fd59b7af5212d4cc0d38be2.tar.xz |
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
Diffstat (limited to 'lib/MC/MCAsmInfoDarwin.cpp')
-rw-r--r-- | lib/MC/MCAsmInfoDarwin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MC/MCAsmInfoDarwin.cpp b/lib/MC/MCAsmInfoDarwin.cpp index 8495aa44ec..9902f501e4 100644 --- a/lib/MC/MCAsmInfoDarwin.cpp +++ b/lib/MC/MCAsmInfoDarwin.cpp @@ -24,6 +24,7 @@ MCAsmInfoDarwin::MCAsmInfoDarwin() { NeedsSet = true; AllowQuotesInName = true; HasSingleParameterDotFile = false; + HasSubsectionsViaSymbols = true; AlignmentIsInBytes = false; InlineAsmStart = " InlineAsm Start"; |