From 733cb6437d839184851c243b91442595218cd8f1 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Thu, 10 Jul 2014 22:37:28 +0000 Subject: [PATCH] Use the integrated assembler by default on OpenBSD. llvm-svn: 212771 --- llvm/lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp b/llvm/lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp index 6875fc6..df66ca9 100644 --- a/llvm/lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp +++ b/llvm/lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp @@ -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; } -- 2.7.4