Use the integrated assembler by default on OpenBSD.
authorBrad Smith <brad@comstyle.com>
Thu, 10 Jul 2014 22:37:28 +0000 (22:37 +0000)
committerBrad Smith <brad@comstyle.com>
Thu, 10 Jul 2014 22:37:28 +0000 (22:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212771 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp

index 6875fc65354160818b3a76cfa0f34efdf1281e19..df66ca9006b80164ebd6a1a6e2db12b20c52332b 100644 (file)
@@ -43,7 +43,8 @@ SparcELFMCAsmInfo::SparcELFMCAsmInfo(StringRef TT) {
   SunStyleELFSectionSwitchSyntax = true;
   UsesELFSectionDirectiveForBSS = true;
 
-  if (TheTriple.getOS() == llvm::Triple::Solaris)
+  if (TheTriple.getOS() == llvm::Triple::Solaris ||
+      TheTriple.getOS() == llvm::Triple::OpenBSD)
     UseIntegratedAssembler = true;
 }