From d241efeef8e1d6ba6950ebb6239987932120011d Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Sat, 9 Aug 2014 18:36:55 +0200 Subject: llvm: drop 2.8 and 2.9 versions * mesa is now using 3.3 by default and I don't know about any llvm2* users Signed-off-by: Martin Jansa --- .../recipes-core/llvm/llvm2.9/0019-issue6065.patch | 35 ---------------------- .../recipes-core/llvm/llvm2.9/0035-gcc-4.7.patch | 16 ---------- .../llvm/llvm2.9/arm_fenv_uclibc.patch | 14 --------- 3 files changed, 65 deletions(-) delete mode 100644 meta-oe/recipes-core/llvm/llvm2.9/0019-issue6065.patch delete mode 100644 meta-oe/recipes-core/llvm/llvm2.9/0035-gcc-4.7.patch delete mode 100644 meta-oe/recipes-core/llvm/llvm2.9/arm_fenv_uclibc.patch (limited to 'meta-oe/recipes-core/llvm/llvm2.9') diff --git a/meta-oe/recipes-core/llvm/llvm2.9/0019-issue6065.patch b/meta-oe/recipes-core/llvm/llvm2.9/0019-issue6065.patch deleted file mode 100644 index aff3d1d06d..0000000000 --- a/meta-oe/recipes-core/llvm/llvm2.9/0019-issue6065.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- llvm-2.9.orig/lib/Target/ARM/ARMJITInfo.cpp 2013-04-19 14:49:28.063566919 +0200 -+++ llvm-2.9/lib/Target/ARM/ARMJITInfo.cpp 2013-04-19 15:24:31.065435029 +0200 -@@ -59,7 +59,17 @@ - // for the real target function right now. We have to act as if this - // whole compilation callback doesn't exist as far as the caller is - // concerned, so we can't just preserve the callee saved regs. -+ // stmdb introduced in http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMJITInfo.cpp?diff_format=h&r1=57911&r2=57910&pathrev=57911 -+ // but fails on armv4t -+ // | {standard input}: Assembler messages: -+ // | {standard input}:22: Error: selected processor does not support Thumb mode `stmdb sp!,{r0,r1,r2,r3,lr}' -+ // | {standard input}:31: Error: lo register required -- `ldmia sp!,{r0,r1,r2,r3,lr}' -+ // | {standard input}:32: Error: lo register required -- `ldr pc,[sp],#4' -+#ifndef __thumb__ - "stmdb sp!, {r0, r1, r2, r3, lr}\n" -+#else -+ "push {r0, r1, r2, r3, lr}\n" -+#endif - #if (defined(__VFP_FP__) && !defined(__SOFTFP__)) - "fstmfdd sp!, {d0, d1, d2, d3, d4, d5, d6, d7}\n" - #endif -@@ -99,8 +109,14 @@ - // The above twiddling of the saved return addresses allows us to - // deallocate everything, including the LR the stub saved, with two - // updating load instructions. -+#ifndef __thumb__ - "ldmia sp!, {r0, r1, r2, r3, lr}\n" - "ldr pc, [sp], #4\n" -+#else -+ // thumb dont allow lr and pc to be poped in the same instruction. -+ "pop {r0, r1, r2, r3, lr}\n" -+ "pop {pc}\n" -+#endif - ); - #else // Not an ARM host - void ARMCompilationCallback() { diff --git a/meta-oe/recipes-core/llvm/llvm2.9/0035-gcc-4.7.patch b/meta-oe/recipes-core/llvm/llvm2.9/0035-gcc-4.7.patch deleted file mode 100644 index 4cf8d44640..0000000000 --- a/meta-oe/recipes-core/llvm/llvm2.9/0035-gcc-4.7.patch +++ /dev/null @@ -1,16 +0,0 @@ -Upstream-Status: Pending - -Imported from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673266 - -Signed-off-by: Martin Jansa - ---- a/lib/ExecutionEngine/JIT/Intercept.cpp 2012-05-17 16:11:46.956180361 +0200 -+++ b/lib/ExecutionEngine/JIT/Intercept.cpp 2012-05-17 16:14:35.256184996 +0200 -@@ -52,6 +52,7 @@ - #include - #endif - #include -+#include - /* stat functions are redirecting to __xstat with a version number. On x86-64 - * linking with libc_nonshared.a and -Wl,--export-dynamic doesn't make 'stat' - * available as an exported symbol, so we have to add it explicitly. diff --git a/meta-oe/recipes-core/llvm/llvm2.9/arm_fenv_uclibc.patch b/meta-oe/recipes-core/llvm/llvm2.9/arm_fenv_uclibc.patch deleted file mode 100644 index c3ae494645..0000000000 --- a/meta-oe/recipes-core/llvm/llvm2.9/arm_fenv_uclibc.patch +++ /dev/null @@ -1,14 +0,0 @@ -Index: llvm-2.9/include/llvm/Support/FEnv.h -=================================================================== ---- llvm-2.9.orig/include/llvm/Support/FEnv.h 2010-11-29 20:44:50.000000000 +0100 -+++ llvm-2.9/include/llvm/Support/FEnv.h 2011-11-18 18:42:22.580161297 +0100 -@@ -17,6 +17,9 @@ - - #include "llvm/Config/config.h" - #include -+ -+#undef HAVE_FENV_H -+ - #ifdef HAVE_FENV_H - #include - #endif -- cgit v1.2.3-54-g00ecf