ARM unified syntax is not specific to ELF; use it for Darwin, too.
authorBob Wilson <bob.wilson@apple.com>
Thu, 18 Jun 2009 00:36:17 +0000 (00:36 +0000)
committerBob Wilson <bob.wilson@apple.com>
Thu, 18 Jun 2009 00:36:17 +0000 (00:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73665 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp

index c3ce11e3b5b6ece5a00b87142d6b11023942c288..7b390366383746ffdf25d30552934223d75f769e 100644 (file)
@@ -841,7 +841,7 @@ bool ARMAsmPrinter::doInitialization(Module &M) {
     Mang->setUseQuotes(true);
 
   // Thumb-2 instructions are supported only in unified assembler syntax mode.
-  if (Subtarget->isTargetELF() && Subtarget->hasThumb2())
+  if (Subtarget->hasThumb2())
     O << "\t.syntax unified\n";
 
   // Emit ARM Build Attributes