From 82ca21468e7fe6a5112961ba86434579bed3f204 Mon Sep 17 00:00:00 2001
From: dim <dim@FreeBSD.org>
Date: Mon, 24 Nov 2014 18:43:37 +0000
Subject: Cleanup patch set, and update README.TXT.  Add three new patches.

---
 .../patch-r269387-clang-arm-target-cpu.diff        | 34 ----------------------
 1 file changed, 34 deletions(-)
 delete mode 100644 contrib/llvm/patches/patch-r269387-clang-arm-target-cpu.diff

(limited to 'contrib/llvm/patches/patch-r269387-clang-arm-target-cpu.diff')

diff --git a/contrib/llvm/patches/patch-r269387-clang-arm-target-cpu.diff b/contrib/llvm/patches/patch-r269387-clang-arm-target-cpu.diff
deleted file mode 100644
index fea76a1..0000000
--- a/contrib/llvm/patches/patch-r269387-clang-arm-target-cpu.diff
+++ /dev/null
@@ -1,34 +0,0 @@
-Update the ARMv6 core clang targets to be an arm1176jzf-s. This brings us
-in line with gcc in base as this makes llvm generate code for the armv6k
-variant of the instruction set.
-
-Introduced here: http://svnweb.freebsd.org/changeset/base/269387
-
-Index: tools/clang/lib/Driver/ToolChain.cpp
-===================================================================
---- tools/clang/lib/Driver/ToolChain.cpp	(revision 269386)
-+++ tools/clang/lib/Driver/ToolChain.cpp	(revision 269387)
-@@ -183,7 +183,8 @@ static const char *getARMTargetCPU(const ArgList &
-     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";
-   }
-Index: tools/clang/lib/Driver/Tools.cpp
-===================================================================
---- tools/clang/lib/Driver/Tools.cpp	(revision 269386)
-+++ tools/clang/lib/Driver/Tools.cpp	(revision 269387)
-@@ -499,7 +499,8 @@ static std::string getARMTargetCPU(const ArgList &
-     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";
-   }
-- 
cgit v1.1