summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core/llvm/llvm2.9
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2014-08-09 18:36:55 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2014-08-13 23:28:03 +0200
commitd241efeef8e1d6ba6950ebb6239987932120011d (patch)
tree26da8adfffd35a4e139cd83e45a2d51d68c32a27 /meta-oe/recipes-core/llvm/llvm2.9
parent896aab8ca19c1f53862802d5156212a025d4f687 (diff)
downloadmeta-openembedded-d241efeef8e1d6ba6950ebb6239987932120011d.tar.gz
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 <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-core/llvm/llvm2.9')
-rw-r--r--meta-oe/recipes-core/llvm/llvm2.9/0019-issue6065.patch35
-rw-r--r--meta-oe/recipes-core/llvm/llvm2.9/0035-gcc-4.7.patch16
-rw-r--r--meta-oe/recipes-core/llvm/llvm2.9/arm_fenv_uclibc.patch14
3 files changed, 0 insertions, 65 deletions
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 aff3d1d06..000000000
--- a/meta-oe/recipes-core/llvm/llvm2.9/0019-issue6065.patch
+++ /dev/null
@@ -1,35 +0,0 @@
1--- llvm-2.9.orig/lib/Target/ARM/ARMJITInfo.cpp 2013-04-19 14:49:28.063566919 +0200
2+++ llvm-2.9/lib/Target/ARM/ARMJITInfo.cpp 2013-04-19 15:24:31.065435029 +0200
3@@ -59,7 +59,17 @@
4 // for the real target function right now. We have to act as if this
5 // whole compilation callback doesn't exist as far as the caller is
6 // concerned, so we can't just preserve the callee saved regs.
7+ // 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
8+ // but fails on armv4t
9+ // | {standard input}: Assembler messages:
10+ // | {standard input}:22: Error: selected processor does not support Thumb mode `stmdb sp!,{r0,r1,r2,r3,lr}'
11+ // | {standard input}:31: Error: lo register required -- `ldmia sp!,{r0,r1,r2,r3,lr}'
12+ // | {standard input}:32: Error: lo register required -- `ldr pc,[sp],#4'
13+#ifndef __thumb__
14 "stmdb sp!, {r0, r1, r2, r3, lr}\n"
15+#else
16+ "push {r0, r1, r2, r3, lr}\n"
17+#endif
18 #if (defined(__VFP_FP__) && !defined(__SOFTFP__))
19 "fstmfdd sp!, {d0, d1, d2, d3, d4, d5, d6, d7}\n"
20 #endif
21@@ -99,8 +109,14 @@
22 // The above twiddling of the saved return addresses allows us to
23 // deallocate everything, including the LR the stub saved, with two
24 // updating load instructions.
25+#ifndef __thumb__
26 "ldmia sp!, {r0, r1, r2, r3, lr}\n"
27 "ldr pc, [sp], #4\n"
28+#else
29+ // thumb dont allow lr and pc to be poped in the same instruction.
30+ "pop {r0, r1, r2, r3, lr}\n"
31+ "pop {pc}\n"
32+#endif
33 );
34 #else // Not an ARM host
35 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 4cf8d4464..000000000
--- a/meta-oe/recipes-core/llvm/llvm2.9/0035-gcc-4.7.patch
+++ /dev/null
@@ -1,16 +0,0 @@
1Upstream-Status: Pending
2
3Imported from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673266
4
5Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
6
7--- a/lib/ExecutionEngine/JIT/Intercept.cpp 2012-05-17 16:11:46.956180361 +0200
8+++ b/lib/ExecutionEngine/JIT/Intercept.cpp 2012-05-17 16:14:35.256184996 +0200
9@@ -52,6 +52,7 @@
10 #include <sys/stat.h>
11 #endif
12 #include <fcntl.h>
13+#include <unistd.h>
14 /* stat functions are redirecting to __xstat with a version number. On x86-64
15 * linking with libc_nonshared.a and -Wl,--export-dynamic doesn't make 'stat'
16 * 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 c3ae49464..000000000
--- a/meta-oe/recipes-core/llvm/llvm2.9/arm_fenv_uclibc.patch
+++ /dev/null
@@ -1,14 +0,0 @@
1Index: llvm-2.9/include/llvm/Support/FEnv.h
2===================================================================
3--- llvm-2.9.orig/include/llvm/Support/FEnv.h 2010-11-29 20:44:50.000000000 +0100
4+++ llvm-2.9/include/llvm/Support/FEnv.h 2011-11-18 18:42:22.580161297 +0100
5@@ -17,6 +17,9 @@
6
7 #include "llvm/Config/config.h"
8 #include <cerrno>
9+
10+#undef HAVE_FENV_H
11+
12 #ifdef HAVE_FENV_H
13 #include <fenv.h>
14 #endif