aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MC/MCELFStreamer.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-11-05 22:40:09 +0000
committerJim Grosbach <grosbach@apple.com>2010-11-05 22:40:09 +0000
commitba21957cbd7b25e3d25a3e9befe6151000242853 (patch)
treeccb38aa6258912b00d48e8dda106b5abb8c2fe32 /lib/MC/MCELFStreamer.cpp
parent642fc9c24ba7c43a4a962c6c05cfffce713d7de7 (diff)
downloadexternal_llvm-ba21957cbd7b25e3d25a3e9befe6151000242853.zip
external_llvm-ba21957cbd7b25e3d25a3e9befe6151000242853.tar.gz
external_llvm-ba21957cbd7b25e3d25a3e9befe6151000242853.tar.bz2
Add '.code 32' assembler directive to MC streamers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118309 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCELFStreamer.cpp')
-rw-r--r--lib/MC/MCELFStreamer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MC/MCELFStreamer.cpp b/lib/MC/MCELFStreamer.cpp
index da7257f..414fe3e 100644
--- a/lib/MC/MCELFStreamer.cpp
+++ b/lib/MC/MCELFStreamer.cpp
@@ -181,6 +181,7 @@ void MCELFStreamer::EmitAssemblerFlag(MCAssemblerFlag Flag) {
switch (Flag) {
case MCAF_SyntaxUnified: return; // no-op here.
case MCAF_Code16: return; // no-op here.
+ case MCAF_Code32: return; // no-op here.
case MCAF_SubsectionsViaSymbols:
getAssembler().setSubsectionsViaSymbols(true);
return;