From 5428a582875659391c2397fe4bc8da14e9757704 Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Mon, 3 Jan 2011 14:20:30 +0000 Subject: upgrade to latest git snapshot SVN-Revision: 24889 --- toolchain/uClibc/Makefile | 4 +- .../000-upstream-Unwind_Resume_PLT_calls_fix.patch | 67 ---------------------- .../160-netlinkaccess_type_fix.patch | 17 ------ 3 files changed, 2 insertions(+), 86 deletions(-) delete mode 100644 toolchain/uClibc/patches-0.9.32/000-upstream-Unwind_Resume_PLT_calls_fix.patch delete mode 100644 toolchain/uClibc/patches-0.9.32/160-netlinkaccess_type_fix.patch (limited to 'toolchain/uClibc') diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile index 0926c53f5a..672d486225 100644 --- a/toolchain/uClibc/Makefile +++ b/toolchain/uClibc/Makefile @@ -14,10 +14,10 @@ PKG_VERSION:=$(call qstrip,$(CONFIG_UCLIBC_VERSION)) ifeq ($(CONFIG_UCLIBC_VERSION_0_9_32),y) PKG_SOURCE_URL:=git://git.busybox.net/uClibc PKG_SOURCE_PROTO:=git - PKG_SOURCE_VERSION:=e2903ddb06b1f50cb4ac9af0b035c74ed6b9d30f + PKG_SOURCE_VERSION:=4ac7ad3543dd6d7780e71af80fa5c45414451719 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz - LIBC_SO_VERSION:=$(PKG_VERSION)-git + LIBC_SO_VERSION:=$(PKG_VERSION)-rc1-git else PKG_SOURCE_URL:=http://www.uclibc.org/downloads PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 diff --git a/toolchain/uClibc/patches-0.9.32/000-upstream-Unwind_Resume_PLT_calls_fix.patch b/toolchain/uClibc/patches-0.9.32/000-upstream-Unwind_Resume_PLT_calls_fix.patch deleted file mode 100644 index cf7a373f50..0000000000 --- a/toolchain/uClibc/patches-0.9.32/000-upstream-Unwind_Resume_PLT_calls_fix.patch +++ /dev/null @@ -1,67 +0,0 @@ -From 1f674977c0f3ea1e67deea93fa8f4e795cc869ad Mon Sep 17 00:00:00 2001 -From: Timo Teräs -Date: Tue, 07 Dec 2010 09:27:29 +0000 -Subject: nptl: fix Unwind_Resume PLT calls - -My change a49b3a18e463cbe8c94c41501e386e7f4c61609e fixed two -Unwind_Resume calls to go via PLT to avoid text relocations for PIC -builds. However, it looks the reason for upstream not using PLT calls -is that ebx gets clobbered. So we need to reload it. - -Signed-off-by: Timo Teräs -Signed-off-by: Austin Foxley ---- -diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S -index ac7983c..3b61367 100644 ---- a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S -+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S -@@ -648,6 +648,10 @@ __condvar_tw_cleanup: - - movl %esi, (%esp) - .LcallUR: -+#ifdef __PIC__ -+ call __i686.get_pc_thunk.bx -+ addl $_GLOBAL_OFFSET_TABLE_, %ebx -+#endif - call _Unwind_Resume@PLT - hlt - .LENDCODE: -diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S -index abc963f..a1294c5 100644 ---- a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S -+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S -@@ -535,6 +535,10 @@ __condvar_w_cleanup: - - movl %esi, (%esp) - .LcallUR: -+#ifdef __PIC__ -+ call __i686.get_pc_thunk.bx -+ addl $_GLOBAL_OFFSET_TABLE_, %ebx -+#endif - call _Unwind_Resume@PLT - hlt - .LENDCODE: -@@ -569,14 +573,14 @@ __condvar_w_cleanup: - .Lcstend: - - #ifdef __PIC__ -- .section .gnu.linkonce.t.__i686.get_pc_thunk.cx,"ax",@progbits -- .globl __i686.get_pc_thunk.cx -- .hidden __i686.get_pc_thunk.cx -- .type __i686.get_pc_thunk.cx,@function --__i686.get_pc_thunk.cx: -- movl (%esp), %ecx; -+ .section .gnu.linkonce.t.__i686.get_pc_thunk.bx,"ax",@progbits -+ .globl __i686.get_pc_thunk.bx -+ .hidden __i686.get_pc_thunk.bx -+ .type __i686.get_pc_thunk.bx,@function -+__i686.get_pc_thunk.bx: -+ movl (%esp), %ebx; - ret -- .size __i686.get_pc_thunk.cx,.-__i686.get_pc_thunk.cx -+ .size __i686.get_pc_thunk.bx,.-__i686.get_pc_thunk.bx - #endif - - #ifdef SHARED --- -cgit v0.8.2.1 diff --git a/toolchain/uClibc/patches-0.9.32/160-netlinkaccess_type_fix.patch b/toolchain/uClibc/patches-0.9.32/160-netlinkaccess_type_fix.patch deleted file mode 100644 index 7e59b9bd7d..0000000000 --- a/toolchain/uClibc/patches-0.9.32/160-netlinkaccess_type_fix.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/libc/inet/netlinkaccess.h -+++ b/libc/inet/netlinkaccess.h -@@ -25,12 +25,8 @@ - #include - - #if defined __ASSUME_NETLINK_SUPPORT || defined __UCLIBC_USE_NETLINK__ --#define _LINUX_TYPES_H --typedef uint8_t __u8; --typedef uint16_t __u16; --typedef uint32_t __u32; --typedef uint64_t __u64; --typedef int32_t __s32; -+ -+#include - #include - #include - -- cgit v1.2.3