[PATCH] Use the integrated assembler by default on FreeBSD/NetBSD sparc
Brad Smith
brad at comstyle.com
Thu Aug 28 17:11:01 PDT 2014
Use the integrated assembler by default on FreeBSD/NetBSD sparc.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
-------------- next part --------------
Index: lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp
===================================================================
--- lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp (revision 215695)
+++ lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp (working copy)
@@ -43,9 +43,16 @@
SunStyleELFSectionSwitchSyntax = true;
UsesELFSectionDirectiveForBSS = true;
- if (TheTriple.getOS() == llvm::Triple::Solaris ||
- TheTriple.getOS() == llvm::Triple::OpenBSD)
+ switch (TheTriple.getOS()) {
+ case llvm::Triple::Solaris:
+ case llvm::Triple::FreeBSD:
+ case llvm::Triple::NetBSD:
+ case llvm::Triple::OpenBSD:
UseIntegratedAssembler = true;
+ break;
+ default:
+ break;
+ }
}
const MCExpr*
More information about the llvm-commits
mailing list