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)
llvm-svn: 212771

llvm/lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp

index 6875fc6..df66ca9 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;
 }