From e080d8e18e62949c046023962ead58109dc7caef Mon Sep 17 00:00:00 2001 From: Nitin A Kamble Date: Tue, 17 May 2011 08:43:56 -0700 Subject: 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 Signed-off-by: Richard Purdie --- .../eglibc/eglibc-2.13/armv4t-interworking.patch | 82 ---------------------- .../eglibc/eglibc-2.13/ld-search-order.patch | 2 + .../eglibc/eglibc-2.13/mips-rld-map-check.patch | 2 + .../eglibc-2.13/shorten-build-commands.patch | 2 + 4 files changed, 6 insertions(+), 82 deletions(-) delete mode 100644 meta/recipes-core/eglibc/eglibc-2.13/armv4t-interworking.patch (limited to 'meta/recipes-core/eglibc/eglibc-2.13') 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 @@ -Needed to support ARMv4t machines - -Upstream-status: Pending - -Index: libc/ports/sysdeps/arm/memcpy.S -=================================================================== ---- libc.orig/ports/sysdeps/arm/memcpy.S 2009-09-03 16:12:00.000000000 -0700 -+++ libc/ports/sysdeps/arm/memcpy.S 2009-10-28 12:51:22.000000000 -0700 -@@ -130,7 +130,12 @@ ENTRY(memcpy) - strcsb r4, [r0], #1 - strcsb ip, [r0] - -+#if defined (__ARM_ARCH_4T__) && defined(__THUMB_INTERWORK__) -+ ldmfd sp!, {r0, r4, lr} -+ bx lr -+#else - ldmfd sp!, {r0, r4, pc} -+#endif - - 9: rsb ip, ip, #4 - cmp ip, #2 -Index: libc/ports/sysdeps/arm/memmove.S -=================================================================== ---- libc.orig/ports/sysdeps/arm/memmove.S 2009-09-03 16:12:00.000000000 -0700 -+++ libc/ports/sysdeps/arm/memmove.S 2009-10-28 12:51:22.000000000 -0700 -@@ -144,7 +144,12 @@ ENTRY(memmove) - strneb r3, [r0, #-1]! - strcsb r4, [r0, #-1]! - strcsb ip, [r0, #-1] -+#if defined (__ARM_ARCH_4T__) && defined (__THUMB_INTERWORK__) -+ ldmfd sp!, {r0, r4, lr} -+ bx lr -+#else - ldmfd sp!, {r0, r4, pc} -+#endif - - 9: cmp ip, #2 - ldrgtb r3, [r1, #-1]! -Index: libc/ports/sysdeps/unix/sysv/linux/arm/clone.S -=================================================================== ---- libc.orig/ports/sysdeps/unix/sysv/linux/arm/clone.S 2009-09-03 16:12:04.000000000 -0700 -+++ libc/ports/sysdeps/unix/sysv/linux/arm/clone.S 2009-10-28 12:51:22.000000000 -0700 -@@ -96,8 +96,14 @@ ENTRY(__clone) - #endif - @ pick the function arg and call address off the stack and execute - ldr r0, [sp, #4] -+#if defined(__ARM_ARCH_4T__) && defined(__THUMB_INTERWORK__) -+ ldr ip, [sp], #8 -+ mov lr, pc -+ bx ip -+#else - mov lr, pc - ldr pc, [sp], #8 -+#endif - - @ and we are done, passing the return value through r0 - b PLTJMP(HIDDEN_JUMPTARGET(_exit)) -Index: libc/ports/sysdeps/unix/sysv/linux/arm/sysdep.h -=================================================================== ---- libc.orig/ports/sysdeps/unix/sysv/linux/arm/sysdep.h 2009-09-16 13:58:18.000000000 +0100 -+++ libc/ports/sysdeps/unix/sysv/linux/arm/sysdep.h 2009-11-03 19:17:16.000000000 +0000 -@@ -129,6 +129,11 @@ - DO_RET(lr); \ - 1: .word C_SYMBOL_NAME(rtld_errno) - 0b - 8; - # else -+#if defined(__ARM_ARCH_4T__) && defined(__THUMB_INTERWORK__) -+#define POP_PC ldr lr, [sp], #4; bx lr -+#else -+#define POP_PC ldr pc, [sp], #4 -+#endif - # define SYSCALL_ERROR_HANDLER \ - __local_syscall_error: \ - str lr, [sp, #-4]!; \ -@@ -138,7 +143,7 @@ - rsb r1, r1, #0; \ - str r1, [r0]; \ - mvn r0, #0; \ -- ldr pc, [sp], #4; -+ POP_PC; - # endif - #else - # 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 @@ +Upstream-Status: Inappropriate [embedded specific] + The default lib search path order is: 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 @@ +Upstream-Status: Pending + On mips target, binutils currently sets DT_MIPS_RLD_MAP to 0 in dynamic section if a --version-script sets _RLD_MAP to local. This is apparently a 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 @@ +Upstream-Status: Pending + Source: http://sourceware.org/ml/libc-alpha/2010-03/msg00064.html This patch scratches an itch. Each individual gcc command in the -- cgit v1.2.3-54-g00ecf