summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2011-05-17 08:43:56 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-18 14:32:47 +0100
commite080d8e18e62949c046023962ead58109dc7caef (patch)
tree03f226753c14ced2b89ab726ba11912111f6ba93 /meta/recipes-core/eglibc
parent725acfad7c093708d3d7cd72f8e72fedce4335a4 (diff)
downloadpoky-e080d8e18e62949c046023962ead58109dc7caef.tar.gz
gcc: remove unused patches and move patches in proper dir
gcc: update upstream-status for patches python: update upstream-status for patches libtool: update upstream-status of patches m4: update upstream status for patches eglibc: remove unused patches eglibc: update upstream status of patches glibc: update upstream-status of patches & remove unused patches (From OE-Core rev: d10df0e5a363fe8b305ffac7e8ac231da8e07552) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/eglibc')
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.12/IO-acquire-lock-fix.patch2
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.12/armv4t-interworking.patch78
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.12/eglibc-svn-arm-lowlevellock-include-tls.patch2
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.12/fix-for-make-3.82.diff2
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.12/ld-search-order.patch2
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.12/mips-rld-map-check.patch2
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.12/shorten-build-commands.patch2
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.13/armv4t-interworking.patch82
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.13/ld-search-order.patch2
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.13/mips-rld-map-check.patch2
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.13/shorten-build-commands.patch2
-rw-r--r--meta/recipes-core/eglibc/ldconfig-native-2.12.1/32and64bit.patch8
-rw-r--r--meta/recipes-core/eglibc/ldconfig-native-2.12.1/endian-ness_handling.patch5
-rw-r--r--meta/recipes-core/eglibc/ldconfig-native-2.12.1/flag_fix.patch2
-rw-r--r--meta/recipes-core/eglibc/ldconfig-native-2.12.1/ldconfig.patch4
-rw-r--r--meta/recipes-core/eglibc/ldconfig-native-2.12.1/ldconfig_aux-cache_path_fix.patch2
16 files changed, 38 insertions, 161 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-2.12/IO-acquire-lock-fix.patch b/meta/recipes-core/eglibc/eglibc-2.12/IO-acquire-lock-fix.patch
index 4d3e0613b1..46b1584fa6 100644
--- a/meta/recipes-core/eglibc/eglibc-2.12/IO-acquire-lock-fix.patch
+++ b/meta/recipes-core/eglibc/eglibc-2.12/IO-acquire-lock-fix.patch
@@ -1,3 +1,5 @@
1Upstream-Status: Pending
2
1import http://sourceware.org/ml/libc-ports/2007-12/msg00000.html 3import http://sourceware.org/ml/libc-ports/2007-12/msg00000.html
2 4
3Index: libc/bits/stdio-lock.h 5Index: libc/bits/stdio-lock.h
diff --git a/meta/recipes-core/eglibc/eglibc-2.12/armv4t-interworking.patch b/meta/recipes-core/eglibc/eglibc-2.12/armv4t-interworking.patch
deleted file mode 100644
index 6ab306180c..0000000000
--- a/meta/recipes-core/eglibc/eglibc-2.12/armv4t-interworking.patch
+++ /dev/null
@@ -1,78 +0,0 @@
1Index: libc/ports/sysdeps/arm/memcpy.S
2===================================================================
3--- libc.orig/ports/sysdeps/arm/memcpy.S 2009-09-03 16:12:00.000000000 -0700
4+++ libc/ports/sysdeps/arm/memcpy.S 2009-10-28 12:51:22.000000000 -0700
5@@ -130,7 +130,12 @@ ENTRY(memcpy)
6 strcsb r4, [r0], #1
7 strcsb ip, [r0]
8
9+#if defined (__ARM_ARCH_4T__) && defined(__THUMB_INTERWORK__)
10+ ldmfd sp!, {r0, r4, lr}
11+ bx lr
12+#else
13 ldmfd sp!, {r0, r4, pc}
14+#endif
15
16 9: rsb ip, ip, #4
17 cmp ip, #2
18Index: libc/ports/sysdeps/arm/memmove.S
19===================================================================
20--- libc.orig/ports/sysdeps/arm/memmove.S 2009-09-03 16:12:00.000000000 -0700
21+++ libc/ports/sysdeps/arm/memmove.S 2009-10-28 12:51:22.000000000 -0700
22@@ -144,7 +144,12 @@ ENTRY(memmove)
23 strneb r3, [r0, #-1]!
24 strcsb r4, [r0, #-1]!
25 strcsb ip, [r0, #-1]
26+#if defined (__ARM_ARCH_4T__) && defined (__THUMB_INTERWORK__)
27+ ldmfd sp!, {r0, r4, lr}
28+ bx lr
29+#else
30 ldmfd sp!, {r0, r4, pc}
31+#endif
32
33 9: cmp ip, #2
34 ldrgtb r3, [r1, #-1]!
35Index: libc/ports/sysdeps/unix/sysv/linux/arm/clone.S
36===================================================================
37--- libc.orig/ports/sysdeps/unix/sysv/linux/arm/clone.S 2009-09-03 16:12:04.000000000 -0700
38+++ libc/ports/sysdeps/unix/sysv/linux/arm/clone.S 2009-10-28 12:51:22.000000000 -0700
39@@ -96,8 +96,14 @@ ENTRY(__clone)
40 #endif
41 @ pick the function arg and call address off the stack and execute
42 ldr r0, [sp, #4]
43+#if defined(__ARM_ARCH_4T__) && defined(__THUMB_INTERWORK__)
44+ ldr ip, [sp], #8
45+ mov lr, pc
46+ bx ip
47+#else
48 mov lr, pc
49 ldr pc, [sp], #8
50+#endif
51
52 @ and we are done, passing the return value through r0
53 b PLTJMP(HIDDEN_JUMPTARGET(_exit))
54Index: libc/ports/sysdeps/unix/sysv/linux/arm/sysdep.h
55===================================================================
56--- libc.orig/ports/sysdeps/unix/sysv/linux/arm/sysdep.h 2009-09-16 13:58:18.000000000 +0100
57+++ libc/ports/sysdeps/unix/sysv/linux/arm/sysdep.h 2009-11-03 19:17:16.000000000 +0000
58@@ -129,6 +129,11 @@
59 DO_RET(lr); \
60 1: .word C_SYMBOL_NAME(rtld_errno) - 0b - 8;
61 # else
62+#if defined(__ARM_ARCH_4T__) && defined(__THUMB_INTERWORK__)
63+#define POP_PC ldr lr, [sp], #4; bx lr
64+#else
65+#define POP_PC ldr pc, [sp], #4
66+#endif
67 # define SYSCALL_ERROR_HANDLER \
68 __local_syscall_error: \
69 str lr, [sp, #-4]!; \
70@@ -138,7 +143,7 @@
71 rsb r1, r1, #0; \
72 str r1, [r0]; \
73 mvn r0, #0; \
74- ldr pc, [sp], #4;
75+ POP_PC;
76 # endif
77 #else
78 # define SYSCALL_ERROR_HANDLER /* Nothing here; code in sysdep.S is used. */
diff --git a/meta/recipes-core/eglibc/eglibc-2.12/eglibc-svn-arm-lowlevellock-include-tls.patch b/meta/recipes-core/eglibc/eglibc-2.12/eglibc-svn-arm-lowlevellock-include-tls.patch
index 99c3fef802..1e7dfa7848 100644
--- a/meta/recipes-core/eglibc/eglibc-2.12/eglibc-svn-arm-lowlevellock-include-tls.patch
+++ b/meta/recipes-core/eglibc/eglibc-2.12/eglibc-svn-arm-lowlevellock-include-tls.patch
@@ -1,3 +1,5 @@
1Upstream-Status: Pending
2
1In file included from ../nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c:21: 3In file included from ../nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c:21:
2../nptl/sysdeps/unix/sysv/linux/lowlevellock.c: In function '__lll_lock_wait_private': 4../nptl/sysdeps/unix/sysv/linux/lowlevellock.c: In function '__lll_lock_wait_private':
3../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:34: warning: implicit declaration of function 'THREAD_GETMEM' 5../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:34: warning: implicit declaration of function 'THREAD_GETMEM'
diff --git a/meta/recipes-core/eglibc/eglibc-2.12/fix-for-make-3.82.diff b/meta/recipes-core/eglibc/eglibc-2.12/fix-for-make-3.82.diff
index 934d31ab89..89fff79c00 100644
--- a/meta/recipes-core/eglibc/eglibc-2.12/fix-for-make-3.82.diff
+++ b/meta/recipes-core/eglibc/eglibc-2.12/fix-for-make-3.82.diff
@@ -1,3 +1,5 @@
1Upstream-Status: Inappropriate [Backport]
2
1Make 3.82, as shipped with Fedora 14, fixes some holes in the parser which in 3Make 3.82, as shipped with Fedora 14, fixes some holes in the parser which in
2turn breaks behaviour of some Makefiles. Most notably eglibc's. 4turn breaks behaviour of some Makefiles. Most notably eglibc's.
3 5
diff --git a/meta/recipes-core/eglibc/eglibc-2.12/ld-search-order.patch b/meta/recipes-core/eglibc/eglibc-2.12/ld-search-order.patch
index f968678efb..40ae6d37f4 100644
--- a/meta/recipes-core/eglibc/eglibc-2.12/ld-search-order.patch
+++ b/meta/recipes-core/eglibc/eglibc-2.12/ld-search-order.patch
@@ -1,3 +1,5 @@
1Upstream-Status: Inappropriate [embedded specific]
2
1The default lib search path order is: 3The default lib search path order is:
2 4
3 1) LD_LIBRARY_PATH 5 1) LD_LIBRARY_PATH
diff --git a/meta/recipes-core/eglibc/eglibc-2.12/mips-rld-map-check.patch b/meta/recipes-core/eglibc/eglibc-2.12/mips-rld-map-check.patch
index ed08d7e301..186c705e56 100644
--- a/meta/recipes-core/eglibc/eglibc-2.12/mips-rld-map-check.patch
+++ b/meta/recipes-core/eglibc/eglibc-2.12/mips-rld-map-check.patch
@@ -1,3 +1,5 @@
1Upstream-Status: Pending
2
1On mips target, binutils currently sets DT_MIPS_RLD_MAP to 0 in dynamic 3On mips target, binutils currently sets DT_MIPS_RLD_MAP to 0 in dynamic
2section if a --version-script sets _RLD_MAP to local. This is apparently 4section if a --version-script sets _RLD_MAP to local. This is apparently
3a binutils bug, but libc shouldn't segfault in this case. 5a binutils bug, but libc shouldn't segfault in this case.
diff --git a/meta/recipes-core/eglibc/eglibc-2.12/shorten-build-commands.patch b/meta/recipes-core/eglibc/eglibc-2.12/shorten-build-commands.patch
index 57835adcdb..90e644ec3c 100644
--- a/meta/recipes-core/eglibc/eglibc-2.12/shorten-build-commands.patch
+++ b/meta/recipes-core/eglibc/eglibc-2.12/shorten-build-commands.patch
@@ -1,3 +1,5 @@
1Upstream-Status: Pending
2
1Source: http://sourceware.org/ml/libc-alpha/2010-03/msg00064.html 3Source: http://sourceware.org/ml/libc-alpha/2010-03/msg00064.html
2 4
3This patch scratches an itch. Each individual gcc command in the 5This patch scratches an itch. Each individual gcc command in the
diff --git a/meta/recipes-core/eglibc/eglibc-2.13/armv4t-interworking.patch b/meta/recipes-core/eglibc/eglibc-2.13/armv4t-interworking.patch
deleted file mode 100644
index 945a8ff687..0000000000
--- a/meta/recipes-core/eglibc/eglibc-2.13/armv4t-interworking.patch
+++ /dev/null
@@ -1,82 +0,0 @@
1Needed to support ARMv4t machines
2
3Upstream-status: Pending
4
5Index: libc/ports/sysdeps/arm/memcpy.S
6===================================================================
7--- libc.orig/ports/sysdeps/arm/memcpy.S 2009-09-03 16:12:00.000000000 -0700
8+++ libc/ports/sysdeps/arm/memcpy.S 2009-10-28 12:51:22.000000000 -0700
9@@ -130,7 +130,12 @@ ENTRY(memcpy)
10 strcsb r4, [r0], #1
11 strcsb ip, [r0]
12
13+#if defined (__ARM_ARCH_4T__) && defined(__THUMB_INTERWORK__)
14+ ldmfd sp!, {r0, r4, lr}
15+ bx lr
16+#else
17 ldmfd sp!, {r0, r4, pc}
18+#endif
19
20 9: rsb ip, ip, #4
21 cmp ip, #2
22Index: libc/ports/sysdeps/arm/memmove.S
23===================================================================
24--- libc.orig/ports/sysdeps/arm/memmove.S 2009-09-03 16:12:00.000000000 -0700
25+++ libc/ports/sysdeps/arm/memmove.S 2009-10-28 12:51:22.000000000 -0700
26@@ -144,7 +144,12 @@ ENTRY(memmove)
27 strneb r3, [r0, #-1]!
28 strcsb r4, [r0, #-1]!
29 strcsb ip, [r0, #-1]
30+#if defined (__ARM_ARCH_4T__) && defined (__THUMB_INTERWORK__)
31+ ldmfd sp!, {r0, r4, lr}
32+ bx lr
33+#else
34 ldmfd sp!, {r0, r4, pc}
35+#endif
36
37 9: cmp ip, #2
38 ldrgtb r3, [r1, #-1]!
39Index: libc/ports/sysdeps/unix/sysv/linux/arm/clone.S
40===================================================================
41--- libc.orig/ports/sysdeps/unix/sysv/linux/arm/clone.S 2009-09-03 16:12:04.000000000 -0700
42+++ libc/ports/sysdeps/unix/sysv/linux/arm/clone.S 2009-10-28 12:51:22.000000000 -0700
43@@ -96,8 +96,14 @@ ENTRY(__clone)
44 #endif
45 @ pick the function arg and call address off the stack and execute
46 ldr r0, [sp, #4]
47+#if defined(__ARM_ARCH_4T__) && defined(__THUMB_INTERWORK__)
48+ ldr ip, [sp], #8
49+ mov lr, pc
50+ bx ip
51+#else
52 mov lr, pc
53 ldr pc, [sp], #8
54+#endif
55
56 @ and we are done, passing the return value through r0
57 b PLTJMP(HIDDEN_JUMPTARGET(_exit))
58Index: libc/ports/sysdeps/unix/sysv/linux/arm/sysdep.h
59===================================================================
60--- libc.orig/ports/sysdeps/unix/sysv/linux/arm/sysdep.h 2009-09-16 13:58:18.000000000 +0100
61+++ libc/ports/sysdeps/unix/sysv/linux/arm/sysdep.h 2009-11-03 19:17:16.000000000 +0000
62@@ -129,6 +129,11 @@
63 DO_RET(lr); \
64 1: .word C_SYMBOL_NAME(rtld_errno) - 0b - 8;
65 # else
66+#if defined(__ARM_ARCH_4T__) && defined(__THUMB_INTERWORK__)
67+#define POP_PC ldr lr, [sp], #4; bx lr
68+#else
69+#define POP_PC ldr pc, [sp], #4
70+#endif
71 # define SYSCALL_ERROR_HANDLER \
72 __local_syscall_error: \
73 str lr, [sp, #-4]!; \
74@@ -138,7 +143,7 @@
75 rsb r1, r1, #0; \
76 str r1, [r0]; \
77 mvn r0, #0; \
78- ldr pc, [sp], #4;
79+ POP_PC;
80 # endif
81 #else
82 # define SYSCALL_ERROR_HANDLER /* Nothing here; code in sysdep.S is used. */
diff --git a/meta/recipes-core/eglibc/eglibc-2.13/ld-search-order.patch b/meta/recipes-core/eglibc/eglibc-2.13/ld-search-order.patch
index f968678efb..40ae6d37f4 100644
--- a/meta/recipes-core/eglibc/eglibc-2.13/ld-search-order.patch
+++ b/meta/recipes-core/eglibc/eglibc-2.13/ld-search-order.patch
@@ -1,3 +1,5 @@
1Upstream-Status: Inappropriate [embedded specific]
2
1The default lib search path order is: 3The default lib search path order is:
2 4
3 1) LD_LIBRARY_PATH 5 1) LD_LIBRARY_PATH
diff --git a/meta/recipes-core/eglibc/eglibc-2.13/mips-rld-map-check.patch b/meta/recipes-core/eglibc/eglibc-2.13/mips-rld-map-check.patch
index 9424003a47..9740e17393 100644
--- a/meta/recipes-core/eglibc/eglibc-2.13/mips-rld-map-check.patch
+++ b/meta/recipes-core/eglibc/eglibc-2.13/mips-rld-map-check.patch
@@ -1,3 +1,5 @@
1Upstream-Status: Pending
2
1On mips target, binutils currently sets DT_MIPS_RLD_MAP to 0 in dynamic 3On mips target, binutils currently sets DT_MIPS_RLD_MAP to 0 in dynamic
2section if a --version-script sets _RLD_MAP to local. This is apparently 4section if a --version-script sets _RLD_MAP to local. This is apparently
3a binutils bug, but libc shouldn't segfault in this case. 5a binutils bug, but libc shouldn't segfault in this case.
diff --git a/meta/recipes-core/eglibc/eglibc-2.13/shorten-build-commands.patch b/meta/recipes-core/eglibc/eglibc-2.13/shorten-build-commands.patch
index 7bd6d56feb..915325882b 100644
--- a/meta/recipes-core/eglibc/eglibc-2.13/shorten-build-commands.patch
+++ b/meta/recipes-core/eglibc/eglibc-2.13/shorten-build-commands.patch
@@ -1,3 +1,5 @@
1Upstream-Status: Pending
2
1Source: http://sourceware.org/ml/libc-alpha/2010-03/msg00064.html 3Source: http://sourceware.org/ml/libc-alpha/2010-03/msg00064.html
2 4
3This patch scratches an itch. Each individual gcc command in the 5This patch scratches an itch. Each individual gcc command in the
diff --git a/meta/recipes-core/eglibc/ldconfig-native-2.12.1/32and64bit.patch b/meta/recipes-core/eglibc/ldconfig-native-2.12.1/32and64bit.patch
index 8069c8931d..cdfeaeadd8 100644
--- a/meta/recipes-core/eglibc/ldconfig-native-2.12.1/32and64bit.patch
+++ b/meta/recipes-core/eglibc/ldconfig-native-2.12.1/32and64bit.patch
@@ -1,3 +1,11 @@
1Upstream-Status: Inappropriate [embedded specific]
2
3We run the ldconfig in the cross fashion. make the code bitsize aware so that
4we can cross build ldconfig cache for various architectures.
5
6Richard Purdie <richard.purdie@linuxfoundation.org> 2009/05/19
7Nitin A Kamble <nitin.a.kamble@intel.com> 2009/03/29
8
1Index: ldconfig-native-2.12.1/readelflib.c 9Index: ldconfig-native-2.12.1/readelflib.c
2=================================================================== 10===================================================================
3--- ldconfig-native-2.12.1.orig/readelflib.c 11--- ldconfig-native-2.12.1.orig/readelflib.c
diff --git a/meta/recipes-core/eglibc/ldconfig-native-2.12.1/endian-ness_handling.patch b/meta/recipes-core/eglibc/ldconfig-native-2.12.1/endian-ness_handling.patch
index 77ba03c1af..7f8e4db78a 100644
--- a/meta/recipes-core/eglibc/ldconfig-native-2.12.1/endian-ness_handling.patch
+++ b/meta/recipes-core/eglibc/ldconfig-native-2.12.1/endian-ness_handling.patch
@@ -1,4 +1,7 @@
1Do data input/output handling according to endien-ness of the library file. 1Upstream-Status: Inappropriate [embedded specific]
2
3Do data input/output handling according to endien-ness of the library file. That
4enables use of ldconfig in the cross fashion for any architecture.
2 5
32011/04/04 62011/04/04
4Richard Purdie <richard.purdie@linuxfoundation.org> 7Richard Purdie <richard.purdie@linuxfoundation.org>
diff --git a/meta/recipes-core/eglibc/ldconfig-native-2.12.1/flag_fix.patch b/meta/recipes-core/eglibc/ldconfig-native-2.12.1/flag_fix.patch
index b148553055..4e9aab9416 100644
--- a/meta/recipes-core/eglibc/ldconfig-native-2.12.1/flag_fix.patch
+++ b/meta/recipes-core/eglibc/ldconfig-native-2.12.1/flag_fix.patch
@@ -1,3 +1,5 @@
1Upstream-Status: Inappropriate [embedded specific]
2
1The native version of ldconfig was using native definition of LD_SO (i.e. 3The native version of ldconfig was using native definition of LD_SO (i.e.
2ld-linux-x86-64.so.2 ) which is not correct for doing the cross ldconfig. 4ld-linux-x86-64.so.2 ) which is not correct for doing the cross ldconfig.
3This was causing libc.so on the target marked as ELF lib rather than 5This was causing libc.so on the target marked as ELF lib rather than
diff --git a/meta/recipes-core/eglibc/ldconfig-native-2.12.1/ldconfig.patch b/meta/recipes-core/eglibc/ldconfig-native-2.12.1/ldconfig.patch
index 52ab64c0d6..52986e61c7 100644
--- a/meta/recipes-core/eglibc/ldconfig-native-2.12.1/ldconfig.patch
+++ b/meta/recipes-core/eglibc/ldconfig-native-2.12.1/ldconfig.patch
@@ -1,3 +1,7 @@
1Upstream-Status: Inappropriate [embedded specific]
2
3enable standalone building of ldconfig
4
1--- 5---
2 cache.c | 11 +- 6 cache.c | 11 +-
3 chroot_canon.c | 7 + 7 chroot_canon.c | 7 +
diff --git a/meta/recipes-core/eglibc/ldconfig-native-2.12.1/ldconfig_aux-cache_path_fix.patch b/meta/recipes-core/eglibc/ldconfig-native-2.12.1/ldconfig_aux-cache_path_fix.patch
index 0312ca8833..27bc411078 100644
--- a/meta/recipes-core/eglibc/ldconfig-native-2.12.1/ldconfig_aux-cache_path_fix.patch
+++ b/meta/recipes-core/eglibc/ldconfig-native-2.12.1/ldconfig_aux-cache_path_fix.patch
@@ -1,3 +1,5 @@
1Upstream-Status: Pending
2
1Coming from this bug: http://sourceware.org/bugzilla/show_bug.cgi?id=11149 3Coming from this bug: http://sourceware.org/bugzilla/show_bug.cgi?id=11149
2 4
3Nitin A Kamble <nitin.a.kamble@intel.com>2011/03/29 5Nitin A Kamble <nitin.a.kamble@intel.com>2011/03/29