From 17dda45b300572031284676263e76ce1c05f2807 Mon Sep 17 00:00:00 2001
From: dim <dim@FreeBSD.org>
Date: Sun, 21 Sep 2014 15:37:39 +0000
Subject: Add a few missing llvm/clang patches, update the other ones to be
 able to apply with the same patch options onto a fresh upstream llvm/clang
 3.4.1 checkout, and use approximately the same header tempate for them.

MFC after:	3 days
---
 ...patch-r270147-llvm-r197824-r213427-r213960.diff | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)

(limited to 'contrib/llvm/patches/patch-r270147-llvm-r197824-r213427-r213960.diff')

diff --git a/contrib/llvm/patches/patch-r270147-llvm-r197824-r213427-r213960.diff b/contrib/llvm/patches/patch-r270147-llvm-r197824-r213427-r213960.diff
index 024c689..a3bd4c9 100644
--- a/contrib/llvm/patches/patch-r270147-llvm-r197824-r213427-r213960.diff
+++ b/contrib/llvm/patches/patch-r270147-llvm-r197824-r213427-r213960.diff
@@ -1,3 +1,27 @@
+Backport r197824, r213427 and r213960 from LLVM trunk:
+
+  r197824 | rdivacky | 2013-12-20 19:08:54 +0100 (Fri, 20 Dec 2013) | 2 lines
+
+  Implement initial-exec TLS for PPC32.
+
+  r213427 | hfinkel | 2014-07-19 01:29:49 +0200 (Sat, 19 Jul 2014) | 7 lines
+
+  [PowerPC] 32-bit ELF PIC support
+
+  This adds initial support for PPC32 ELF PIC (Position Independent Code; the
+  -fPIC variety), thus rectifying a long-standing deficiency in the PowerPC
+  backend.
+
+  Patch by Justin Hibbits!
+
+  r213960 | hfinkel | 2014-07-25 19:47:22 +0200 (Fri, 25 Jul 2014) | 3 lines
+
+  [PowerPC] Support TLS on PPC32/ELF
+
+  Patch by Justin Hibbits!
+
+Introduced here: http://svnweb.freebsd.org/changeset/base/270147
+
 Index: include/llvm/Support/ELF.h
 ===================================================================
 --- include/llvm/Support/ELF.h	(revision 270019)
-- 
cgit v1.1