svn commit: r270072 - stable/10/contrib/llvm/tools/clang/lib/Driver

Ian Lepore ian at FreeBSD.org
Sun Aug 17 01:15:35 UTC 2014


Author: ian
Date: Sun Aug 17 01:15:34 2014
New Revision: 270072
URL: http://svnweb.freebsd.org/changeset/base/270072

Log:
  MFC r269387: Update the ARMv6 core clang targets to be an arm1176jzf-s.

Modified:
  stable/10/contrib/llvm/tools/clang/lib/Driver/ToolChain.cpp
  stable/10/contrib/llvm/tools/clang/lib/Driver/Tools.cpp
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/contrib/llvm/tools/clang/lib/Driver/ToolChain.cpp
==============================================================================
--- stable/10/contrib/llvm/tools/clang/lib/Driver/ToolChain.cpp	Sun Aug 17 01:00:42 2014	(r270071)
+++ stable/10/contrib/llvm/tools/clang/lib/Driver/ToolChain.cpp	Sun Aug 17 01:15:34 2014	(r270072)
@@ -183,7 +183,8 @@ static const char *getARMTargetCPU(const
     MArch = Triple.getArchName();
   }
 
-  if (Triple.getOS() == llvm::Triple::NetBSD) {
+  if (Triple.getOS() == llvm::Triple::NetBSD ||
+      Triple.getOS() == llvm::Triple::FreeBSD) {
     if (MArch == "armv6")
       return "arm1176jzf-s";
   }

Modified: stable/10/contrib/llvm/tools/clang/lib/Driver/Tools.cpp
==============================================================================
--- stable/10/contrib/llvm/tools/clang/lib/Driver/Tools.cpp	Sun Aug 17 01:00:42 2014	(r270071)
+++ stable/10/contrib/llvm/tools/clang/lib/Driver/Tools.cpp	Sun Aug 17 01:15:34 2014	(r270072)
@@ -499,7 +499,8 @@ static std::string getARMTargetCPU(const
     MArch = Triple.getArchName();
   }
 
-  if (Triple.getOS() == llvm::Triple::NetBSD) {
+  if (Triple.getOS() == llvm::Triple::NetBSD ||
+      Triple.getOS() == llvm::Triple::FreeBSD) {
     if (MArch == "armv6")
       return "arm1176jzf-s";
   }


More information about the svn-src-all mailing list