diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-08-01 15:43:10 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-08-01 15:44:41 +0200 |
commit | 17417c2b44cf5f23676e142ab435b5523b8dddfa (patch) | |
tree | 3facf0354aa6f785d910caf1fbbc5e5a31f7b466 /toolchain/uclibc | |
parent | f7c0014d2f7d30a708153d51e85278e39adbc8a0 (diff) |
allow to use git version for C library.
Diffstat (limited to 'toolchain/uclibc')
3 files changed, 400 insertions, 137759 deletions
diff --git a/toolchain/uclibc/Makefile.inc b/toolchain/uclibc/Makefile.inc index eff931e2b..c58903290 100644 --- a/toolchain/uclibc/Makefile.inc +++ b/toolchain/uclibc/Makefile.inc @@ -2,8 +2,13 @@ # material, please see the LICENCE file in the top-level directory. PKG_NAME:= uClibc -PKG_VERSION:= 0.9.33.2 -GIT_VERSION:= 0.9.34-git +ifeq ($(ADK_LIBC_VERSION),git) +PKG_VERSION:= 0.9.34-git +PKG_REPO:= git://git.uclibc.org/uClibc.git +else +PKG_VERSION:= $(ADK_LIBC_VERSION) +PKG_SITES:= http://downloads.uclibc-ng.org/ +endif PKG_RELEASE:= 1 PKG_MD5SUM:= 73e6fe215648d02246f4d195b25fb17e PKG_SITES:= http://uclibc.org/downloads/ diff --git a/toolchain/uclibc/patches/0.9.33.2/uclibc-0004-libc-sysdeps-add-__kernel_long-and-__kernel_ulong.patch b/toolchain/uclibc/patches/0.9.33.2/uclibc-0004-libc-sysdeps-add-__kernel_long-and-__kernel_ulong.patch new file mode 100644 index 000000000..0381ba801 --- /dev/null +++ b/toolchain/uclibc/patches/0.9.33.2/uclibc-0004-libc-sysdeps-add-__kernel_long-and-__kernel_ulong.patch @@ -0,0 +1,393 @@ +From 7fef6b983456e4c529a5239ea90715050e6f4452 Mon Sep 17 00:00:00 2001 +From: Chris Packham <chris.packham@alliedtelesis.co.nz> +Date: Mon, 1 Oct 2012 18:12:54 +1300 +Subject: [PATCH 4/8] libc/sysdeps: add __kernel_long and __kernel_ulong + +Linux 3.4 added __kernel_long_t and __kernel_ulong_t and various +exported header files were updated to use these new types. Add the +definitions for __kernel_long_t and __kernel_ulong_t to the relevant +kernel_types.h headers. + +This change was automated with the following scriptlet + + git grep --name-only 'typedef.*__kernel_old_dev_t' \ + | xargs sed -i '/typedef.*__kernel_old_dev_t/ a\ + typedef long\t\t__kernel_long_t;\ + typedef unsigned long\t__kernel_ulong_t;' + +Whitespace in arm, avr32, hppa, sparc was then manually fixed up. + +Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> +-- +Here's a cleaned up patch which should get the whitespace right. I'm a +bit iffy about the sparc changes they make sense to me but it's not a +platform I have access to. + +I can break this up per arch or per maintainer if requested. + + libc/sysdeps/linux/alpha/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/arm/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/avr32/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/bfin/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/c6x/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/cris/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/e1/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/h8300/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/hppa/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/i386/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/ia64/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/m68k/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/microblaze/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/mips/bits/kernel_types.h | 4 ++++ + libc/sysdeps/linux/nios2/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/powerpc/bits/kernel_types.h | 4 ++++ + libc/sysdeps/linux/sh/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/sh64/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/sparc/bits/kernel_types.h | 4 ++++ + libc/sysdeps/linux/v850/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/x86_64/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/xtensa/bits/kernel_types.h | 2 ++ + 22 files changed, 50 insertions(+) +Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> +Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> +Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> +--- + libc/sysdeps/linux/alpha/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/arm/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/avr32/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/bfin/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/c6x/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/cris/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/e1/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/h8300/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/hppa/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/i386/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/ia64/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/m68k/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/microblaze/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/mips/bits/kernel_types.h | 4 ++++ + libc/sysdeps/linux/nios2/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/powerpc/bits/kernel_types.h | 4 ++++ + libc/sysdeps/linux/sh/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/sh64/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/sparc/bits/kernel_types.h | 4 ++++ + libc/sysdeps/linux/v850/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/x86_64/bits/kernel_types.h | 2 ++ + libc/sysdeps/linux/xtensa/bits/kernel_types.h | 2 ++ + 22 files changed, 50 insertions(+) + +diff --git a/libc/sysdeps/linux/alpha/bits/kernel_types.h b/libc/sysdeps/linux/alpha/bits/kernel_types.h +index d5574c9..cd59b9d 100644 +--- a/libc/sysdeps/linux/alpha/bits/kernel_types.h ++++ b/libc/sysdeps/linux/alpha/bits/kernel_types.h +@@ -33,6 +33,8 @@ typedef __kernel_gid_t __kernel_old_gid_t; + typedef __kernel_uid_t __kernel_uid32_t; + typedef __kernel_gid_t __kernel_gid32_t; + typedef __kernel_dev_t __kernel_old_dev_t; ++typedef long __kernel_long_t; ++typedef unsigned long __kernel_ulong_t; + + typedef struct { + int val[2]; +diff --git a/libc/sysdeps/linux/arm/bits/kernel_types.h b/libc/sysdeps/linux/arm/bits/kernel_types.h +index 766a306..6b36f32 100644 +--- a/libc/sysdeps/linux/arm/bits/kernel_types.h ++++ b/libc/sysdeps/linux/arm/bits/kernel_types.h +@@ -32,6 +32,8 @@ typedef unsigned short __kernel_old_uid_t; + typedef unsigned short __kernel_old_gid_t; + typedef long long __kernel_loff_t; + typedef __kernel_dev_t __kernel_old_dev_t; ++typedef long __kernel_long_t; ++typedef unsigned long __kernel_ulong_t; + + typedef struct { + #ifdef __USE_ALL +diff --git a/libc/sysdeps/linux/avr32/bits/kernel_types.h b/libc/sysdeps/linux/avr32/bits/kernel_types.h +index f7d8b52..c551d57 100644 +--- a/libc/sysdeps/linux/avr32/bits/kernel_types.h ++++ b/libc/sysdeps/linux/avr32/bits/kernel_types.h +@@ -39,6 +39,8 @@ typedef unsigned int __kernel_gid32_t; + typedef unsigned short __kernel_old_uid_t; + typedef unsigned short __kernel_old_gid_t; + typedef unsigned short __kernel_old_dev_t; ++typedef long __kernel_long_t; ++typedef unsigned long __kernel_ulong_t; + + #ifdef __GNUC__ + typedef long long __kernel_loff_t; +diff --git a/libc/sysdeps/linux/bfin/bits/kernel_types.h b/libc/sysdeps/linux/bfin/bits/kernel_types.h +index d69a875..9fec595 100644 +--- a/libc/sysdeps/linux/bfin/bits/kernel_types.h ++++ b/libc/sysdeps/linux/bfin/bits/kernel_types.h +@@ -32,6 +32,8 @@ typedef unsigned short __kernel_old_uid_t; + typedef unsigned short __kernel_old_gid_t; + typedef long long __kernel_loff_t; + typedef __kernel_dev_t __kernel_old_dev_t; ++typedef long __kernel_long_t; ++typedef unsigned long __kernel_ulong_t; + + typedef struct { + #ifdef __USE_ALL +diff --git a/libc/sysdeps/linux/c6x/bits/kernel_types.h b/libc/sysdeps/linux/c6x/bits/kernel_types.h +index 7557309..2c363a8 100644 +--- a/libc/sysdeps/linux/c6x/bits/kernel_types.h ++++ b/libc/sysdeps/linux/c6x/bits/kernel_types.h +@@ -22,6 +22,8 @@ typedef unsigned int __kernel_gid32_t; + typedef unsigned int __kernel_old_uid_t; + typedef unsigned int __kernel_old_gid_t; + typedef unsigned int __kernel_old_dev_t; ++typedef long __kernel_long_t; ++typedef unsigned long __kernel_ulong_t; + typedef unsigned int __kernel_size_t; + typedef int __kernel_ssize_t; + typedef int __kernel_ptrdiff_t; +diff --git a/libc/sysdeps/linux/cris/bits/kernel_types.h b/libc/sysdeps/linux/cris/bits/kernel_types.h +index f122c7f..5d31f7b 100644 +--- a/libc/sysdeps/linux/cris/bits/kernel_types.h ++++ b/libc/sysdeps/linux/cris/bits/kernel_types.h +@@ -28,6 +28,8 @@ typedef unsigned int __kernel_gid32_t; + typedef unsigned short __kernel_old_uid_t; + typedef unsigned short __kernel_old_gid_t; + typedef __kernel_dev_t __kernel_old_dev_t; ++typedef long __kernel_long_t; ++typedef unsigned long __kernel_ulong_t; + + #ifdef __GNUC__ + typedef long long __kernel_loff_t; +diff --git a/libc/sysdeps/linux/e1/bits/kernel_types.h b/libc/sysdeps/linux/e1/bits/kernel_types.h +index 8017d85..f55a129 100644 +--- a/libc/sysdeps/linux/e1/bits/kernel_types.h ++++ b/libc/sysdeps/linux/e1/bits/kernel_types.h +@@ -31,6 +31,8 @@ typedef unsigned int __kernel_gid32_t; + typedef unsigned short __kernel_old_uid_t; + typedef unsigned short __kernel_old_gid_t; + typedef __kernel_dev_t __kernel_old_dev_t; ++typedef long __kernel_long_t; ++typedef unsigned long __kernel_ulong_t; + typedef long long __kernel_loff_t; + + /* +diff --git a/libc/sysdeps/linux/h8300/bits/kernel_types.h b/libc/sysdeps/linux/h8300/bits/kernel_types.h +index 0570675..4cfd1bf 100644 +--- a/libc/sysdeps/linux/h8300/bits/kernel_types.h ++++ b/libc/sysdeps/linux/h8300/bits/kernel_types.h +@@ -32,6 +32,8 @@ typedef unsigned short __kernel_old_uid_t; + typedef unsigned short __kernel_old_gid_t; + typedef long long __kernel_loff_t; + typedef __kernel_dev_t __kernel_old_dev_t; ++typedef long __kernel_long_t; ++typedef unsigned long __kernel_ulong_t; + + typedef struct { + #ifdef __USE_ALL +diff --git a/libc/sysdeps/linux/hppa/bits/kernel_types.h b/libc/sysdeps/linux/hppa/bits/kernel_types.h +index 4441f9b..6b2e794 100644 +--- a/libc/sysdeps/linux/hppa/bits/kernel_types.h ++++ b/libc/sysdeps/linux/hppa/bits/kernel_types.h +@@ -45,6 +45,8 @@ typedef long long __kernel_off64_t; + typedef unsigned long long __kernel_ino64_t; + + typedef unsigned int __kernel_old_dev_t; ++typedef long __kernel_long_t; ++typedef unsigned long __kernel_ulong_t; + + typedef struct { + #ifdef __USE_ALL +diff --git a/libc/sysdeps/linux/i386/bits/kernel_types.h b/libc/sysdeps/linux/i386/bits/kernel_types.h +index 9c07c72..59044b8 100644 +--- a/libc/sysdeps/linux/i386/bits/kernel_types.h ++++ b/libc/sysdeps/linux/i386/bits/kernel_types.h +@@ -40,6 +40,8 @@ typedef unsigned int __kernel_gid32_t; + typedef unsigned short __kernel_old_uid_t; + typedef unsigned short __kernel_old_gid_t; + typedef __kernel_dev_t __kernel_old_dev_t; ++typedef long __kernel_long_t; ++typedef unsigned long __kernel_ulong_t; + typedef long long __kernel_loff_t; + + typedef struct { +diff --git a/libc/sysdeps/linux/ia64/bits/kernel_types.h b/libc/sysdeps/linux/ia64/bits/kernel_types.h +index c8ef86d..e31dc65 100644 +--- a/libc/sysdeps/linux/ia64/bits/kernel_types.h ++++ b/libc/sysdeps/linux/ia64/bits/kernel_types.h +@@ -52,5 +52,7 @@ typedef __kernel_gid_t __kernel_gid32_t; + + typedef unsigned int __kernel_dev_t; + typedef unsigned int __kernel_old_dev_t; ++typedef long __kernel_long_t; ++typedef unsigned long __kernel_ulong_t; + + #endif /* _ASM_IA64_POSIX_TYPES_H */ +diff --git a/libc/sysdeps/linux/m68k/bits/kernel_types.h b/libc/sysdeps/linux/m68k/bits/kernel_types.h +index 0a77a8f..176b968 100644 +--- a/libc/sysdeps/linux/m68k/bits/kernel_types.h ++++ b/libc/sysdeps/linux/m68k/bits/kernel_types.h +@@ -32,6 +32,8 @@ typedef unsigned short __kernel_old_uid_t; + typedef unsigned short __kernel_old_gid_t; + typedef long long __kernel_loff_t; + typedef __kernel_dev_t __kernel_old_dev_t; ++typedef long __kernel_long_t; ++typedef unsigned long __kernel_ulong_t; + + typedef struct { + #ifdef __USE_ALL +diff --git a/libc/sysdeps/linux/microblaze/bits/kernel_types.h b/libc/sysdeps/linux/microblaze/bits/kernel_types.h +index 2a70575..a9f736b 100644 +--- a/libc/sysdeps/linux/microblaze/bits/kernel_types.h ++++ b/libc/sysdeps/linux/microblaze/bits/kernel_types.h +@@ -44,6 +44,8 @@ typedef unsigned int __kernel_gid32_t; + typedef unsigned int __kernel_old_uid_t; + typedef unsigned int __kernel_old_gid_t; + typedef unsigned int __kernel_old_dev_t; ++typedef long __kernel_long_t; ++typedef unsigned long __kernel_ulong_t; + + #ifdef __GNUC__ + typedef long long __kernel_loff_t; +diff --git a/libc/sysdeps/linux/mips/bits/kernel_types.h b/libc/sysdeps/linux/mips/bits/kernel_types.h +index 9fc3b96..97faeac 100644 +--- a/libc/sysdeps/linux/mips/bits/kernel_types.h ++++ b/libc/sysdeps/linux/mips/bits/kernel_types.h +@@ -32,6 +32,8 @@ typedef int __kernel_gid32_t; + typedef __kernel_uid_t __kernel_old_uid_t; + typedef __kernel_gid_t __kernel_old_gid_t; + typedef __kernel_dev_t __kernel_old_dev_t; ++typedef long __kernel_long_t; ++typedef unsigned long __kernel_ulong_t; + typedef long long __kernel_loff_t; + #else + typedef unsigned int __kernel_dev_t; +@@ -68,6 +70,8 @@ typedef int __kernel_gid32_t; + typedef __kernel_uid_t __kernel_old_uid_t; + typedef __kernel_gid_t __kernel_old_gid_t; + typedef __kernel_dev_t __kernel_old_dev_t; ++typedef long __kernel_long_t; ++typedef unsigned long __kernel_ulong_t; + typedef long long __kernel_loff_t; + #endif + +diff --git a/libc/sysdeps/linux/nios2/bits/kernel_types.h b/libc/sysdeps/linux/nios2/bits/kernel_types.h +index 8b86d79..3c030e7 100644 +--- a/libc/sysdeps/linux/nios2/bits/kernel_types.h ++++ b/libc/sysdeps/linux/nios2/bits/kernel_types.h +@@ -31,6 +31,8 @@ typedef unsigned int __kernel_gid32_t; + typedef unsigned short __kernel_old_uid_t; + typedef unsigned short __kernel_old_gid_t; + typedef unsigned short __kernel_old_dev_t; ++typedef long __kernel_long_t; ++typedef unsigned long __kernel_ulong_t; + typedef long long __kernel_loff_t; + + typedef struct { +diff --git a/libc/sysdeps/linux/powerpc/bits/kernel_types.h b/libc/sysdeps/linux/powerpc/bits/kernel_types.h +index 3f3b933..1167de2 100644 +--- a/libc/sysdeps/linux/powerpc/bits/kernel_types.h ++++ b/libc/sysdeps/linux/powerpc/bits/kernel_types.h +@@ -36,6 +36,8 @@ typedef unsigned int __kernel_gid32_t; + typedef unsigned int __kernel_old_uid_t; + typedef unsigned int __kernel_old_gid_t; + typedef __kernel_dev_t __kernel_old_dev_t; ++typedef long __kernel_long_t; ++typedef unsigned long __kernel_ulong_t; + #else + typedef unsigned int __kernel_dev_t; + typedef unsigned int __kernel_ino_t; +@@ -61,6 +63,8 @@ typedef unsigned int __kernel_gid32_t; + typedef unsigned int __kernel_old_uid_t; + typedef unsigned int __kernel_old_gid_t; + typedef __kernel_dev_t __kernel_old_dev_t; ++typedef long __kernel_long_t; ++typedef unsigned long __kernel_ulong_t; + typedef long long __kernel_loff_t; + #endif + +diff --git a/libc/sysdeps/linux/sh/bits/kernel_types.h b/libc/sysdeps/linux/sh/bits/kernel_types.h +index f96e9fa..ac97261 100644 +--- a/libc/sysdeps/linux/sh/bits/kernel_types.h ++++ b/libc/sysdeps/linux/sh/bits/kernel_types.h +@@ -32,6 +32,8 @@ typedef unsigned int __kernel_gid32_t; + typedef unsigned short __kernel_old_uid_t; + typedef unsigned short __kernel_old_gid_t; + typedef __kernel_dev_t __kernel_old_dev_t; ++typedef long __kernel_long_t; ++typedef unsigned long __kernel_ulong_t; + typedef long long __kernel_loff_t; + + typedef struct { +diff --git a/libc/sysdeps/linux/sh64/bits/kernel_types.h b/libc/sysdeps/linux/sh64/bits/kernel_types.h +index 671cc83..8cc6c61 100644 +--- a/libc/sysdeps/linux/sh64/bits/kernel_types.h ++++ b/libc/sysdeps/linux/sh64/bits/kernel_types.h +@@ -43,6 +43,8 @@ typedef unsigned int __kernel_gid32_t; + typedef unsigned short __kernel_old_uid_t; + typedef unsigned short __kernel_old_gid_t; + typedef __kernel_dev_t __kernel_old_dev_t; ++typedef long __kernel_long_t; ++typedef unsigned long __kernel_ulong_t; + typedef long long __kernel_loff_t; + + typedef struct { +diff --git a/libc/sysdeps/linux/sparc/bits/kernel_types.h b/libc/sysdeps/linux/sparc/bits/kernel_types.h +index 0cc4bc2..a10e075 100644 +--- a/libc/sysdeps/linux/sparc/bits/kernel_types.h ++++ b/libc/sysdeps/linux/sparc/bits/kernel_types.h +@@ -32,6 +32,8 @@ typedef unsigned short __kernel_gid16_t; + typedef __kernel_uid_t __kernel_old_uid_t; + typedef __kernel_gid_t __kernel_old_gid_t; + typedef __kernel_dev_t __kernel_old_dev_t; ++typedef long __kernel_long_t; ++typedef unsigned long __kernel_ulong_t; + typedef __kernel_uid_t __kernel_uid32_t; + typedef __kernel_gid_t __kernel_gid32_t; + typedef int __kernel_suseconds_t; +@@ -62,6 +64,8 @@ typedef unsigned int __kernel_gid32_t; + typedef unsigned short __kernel_old_uid_t; + typedef unsigned short __kernel_old_gid_t; + typedef __kernel_dev_t __kernel_old_dev_t; ++typedef long __kernel_long_t; ++typedef unsigned long __kernel_ulong_t; + typedef long long __kernel_loff_t; + #endif + +diff --git a/libc/sysdeps/linux/v850/bits/kernel_types.h b/libc/sysdeps/linux/v850/bits/kernel_types.h +index 3e851ab..780aa8a 100644 +--- a/libc/sysdeps/linux/v850/bits/kernel_types.h ++++ b/libc/sysdeps/linux/v850/bits/kernel_types.h +@@ -41,6 +41,8 @@ typedef unsigned int __kernel_gid32_t; + typedef unsigned short __kernel_old_uid_t; + typedef unsigned short __kernel_old_gid_t; + typedef __kernel_dev_t __kernel_old_dev_t; ++typedef long __kernel_long_t; ++typedef unsigned long __kernel_ulong_t; + + typedef struct { + #ifdef __USE_ALL +diff --git a/libc/sysdeps/linux/x86_64/bits/kernel_types.h b/libc/sysdeps/linux/x86_64/bits/kernel_types.h +index de800d7..0cae08c 100644 +--- a/libc/sysdeps/linux/x86_64/bits/kernel_types.h ++++ b/libc/sysdeps/linux/x86_64/bits/kernel_types.h +@@ -40,6 +40,8 @@ typedef unsigned int __kernel_gid32_t; + typedef unsigned short __kernel_old_uid_t; + typedef unsigned short __kernel_old_gid_t; + typedef __kernel_dev_t __kernel_old_dev_t; ++typedef long __kernel_long_t; ++typedef unsigned long __kernel_ulong_t; + typedef long long __kernel_loff_t; + + typedef struct { +diff --git a/libc/sysdeps/linux/xtensa/bits/kernel_types.h b/libc/sysdeps/linux/xtensa/bits/kernel_types.h +index 44f1075..ed38f2e 100644 +--- a/libc/sysdeps/linux/xtensa/bits/kernel_types.h ++++ b/libc/sysdeps/linux/xtensa/bits/kernel_types.h +@@ -33,6 +33,8 @@ typedef unsigned int __kernel_gid32_t; + typedef unsigned short __kernel_old_uid_t; + typedef unsigned short __kernel_old_gid_t; + typedef unsigned short __kernel_old_dev_t; ++typedef long __kernel_long_t; ++typedef unsigned long __kernel_ulong_t; + typedef long long __kernel_loff_t; + + /* Beginning in 2.6 kernels, which is the first version that includes the +-- +1.8.1.2 + diff --git a/toolchain/uclibc/patches/uclibc-git-20140626.patch b/toolchain/uclibc/patches/uclibc-git-20140626.patch deleted file mode 100644 index 3fd6c7e7e..000000000 --- a/toolchain/uclibc/patches/uclibc-git-20140626.patch +++ /dev/null @@ -1,137757 +0,0 @@ -diff -Nur uClibc-0.9.33.2/Changelog uClibc-git/Changelog ---- uClibc-0.9.33.2/Changelog 2012-05-15 09:20:09.000000000 +0200 -+++ uClibc-git/Changelog 1970-01-01 01:00:00.000000000 +0100 -@@ -1,804 +0,0 @@ --0.9.31 not yet released -- -- Upgrade notices from previous versions. -- o On x86_64 the format of /var/run/utmp changed compared to previous -- versions. To retain compatibility with glibc we now define -- __WORDSIZE_COMPAT32. If you are certain that you will never use -- glibc nor run in i386 mode on your x86_64 installation, you can -- remove this definition from wordsize.h. -- Otherwise you have to delete /var/run/utmp on x86_64 hosts when -- upgrading to 0.9.31 -- o The SHARED_LIB_LOADER_PREFIX was renamed to a single path -- component called MULTILIB_DIR and defaults to 'lib'. -- --0.9.27 12 January 2005 -- -- This has been a long time in the making... Release highlights: -- o New stdio implementation -- o New optimized string functions -- o Major improvements to the shared lib loader -- o Shared libraries work properly on powerpc -- o Debugging works on mips -- o New architectures: frv, nios, nios2, bfin -- o Linux 2.6.x kernel support -- o Lots and lots of bug fixes -- -- This release is NOT binary compatible with uClibc 0.9.26 or any earlier -- release, so be prepared to recompile your software if you are still using -- an old version of uClibc. -- -- -Erik -- -- -- --0.9.26 3 January 2004 -- -- This simply adds a fix for a pthread bug that was noticed a few hours -- after the previous release. Otherwise identical to 0.9.25. -- -- This release remains binary compatible with uClibc 0.9.21-25 as long as -- you take care to avoid any configuraton changes that will break things. -- We _were_ planning to break binary compatibilty in this release, but -- decided to hold those changes so we could push out a bugfix release. -- -- We _will_ break binary compatibilty in the upcoming 0.9.27 release to -- implement a few things we have been postponing. That should hopefully be -- the last ABI change before we freeze the ABI for the upcoming 1.0.x -- stable uClibc series. -- --Release highlights: -- o A trivial fix for a pthread bug -- o Nothing else -- -- -Erik -- -- -- --0.9.25 3 January 2004 -- --See Changelog.full for the complete list of who did what. -- --Note: -- This release remains binary compatible with uClibc 0.9.21-24 as long as -- you take care to avoid any configuraton changes that will break things. -- We _were_ planning to break binary compatibilty in this release, but -- decided to hold those changes so we could push out a bugfix release. -- -- We _will_ break binary compatibilty in the upcoming 0.9.26 release to -- implement a few things we have been postponing. That should hopefully be -- the last ABI change before we freeze the ABI for the upcoming 1.0.x -- stable uClibc series. -- --Release highlights: -- o Fixed a ton of problems found using the LTP and NIST test suites. -- The few remaining test failures are obscure corner cases, such as -- a few functions that fail (correctly) with incorrect errno values. -- o Fixed a longstanding pthreads bug -- amoung other things, you no -- longer need to explicitly add -lpthread for perl to work. -- o Added some sh optimized string functions -- o Added sh64 shared library support -- o The default malloc implementation has been replaced, and will -- now actually free memory when told to do so. -- o Both popen() and exec*() now behave themselves per SuSv3 -- o Better 2.6.x kernel header support -- o Added support for Position Independent Executables (PIE) on x86 -- o Lots of other minor cleanups -- -- -Erik -- -- -- --0.9.24 15 December 2003 -- --See Changelog.full for the complete list of who did what. -- --Note: -- This release remains binary compatible with uClibc 0.9.21-23 as -- long as you take care to avoid any configuraton changes that will -- break things. -- -- We currently plan to break binary compatibilty in the upcoming 0.9.25 to -- implement a few things we have been postponing, which will hopefully be -- the last change.... -- --Release highlights: -- o Fixed several silly configuration problems -- o Added arm optimized string functions -- o Lots of minor cleanups -- -- -Erik -- -- -- -- -- --0.9.23 13 November 2003 -- --See Changelog.full for the complete list of who did what. -- --Note: -- This release is binary compatible with uClibc 0.9.21 and 0.9.22 as -- long as you take care to avoid any configuraton changes that will -- break things. Enabling or disabling things like soft-float, -- locale, wide wchar support, or changing cpu type are all good -- examples of things that will break binary compatibility. -- --Release highlights: -- o Fixed several silly configuration problems that were -- present in the 0.9.22 release. -- o Fixed compilation problem with soft-float support on -- several architectures. -- o Lots of cleanup work on the powepc shared lib loader -- thanks to Joakim Tjernlund. -- o Updated the debian packaging for use in a standalone uClibc -- system, rather than being a subordinate library under a -- glibc based system. -- -- -Erik -- -- -- -- -- --0.9.22 8 November 2003 -- --See Changelog.full for the complete list of who did what. -- --Note: -- This release is binary compatible with the 0.9.21 release -- if you take care to avoid any configuraton changes that -- might break things for you (i.e. enabling or disabling things -- like soft-float, locale, wide wchar support, or changing cpu -- type are all good examples of binary incompatible config options). -- --Release highlights: -- o Added e1, microblaze, and sh64 architectures. -- o Much improved soft-float support -- o Rewrote the passwd and group handing functions -- and implemented all SuSv3 required reentrant -- versions. -- o Reworked and updated the Config system. You now -- get to select your target architecture with the -- config system. -- o Fixed pthreads for mmuless m68k systems -- o Added some x86 optimized string functions. -- o Lots and lots of bugs fixed. -- -- -Erik -- -- -- -- -- --0.9.21 9 September 2003 -- --See Changelog.full for the complete list of who did what. -- --Note: -- This release is not binary compatible with earlier releases. -- Sorry about that. We have never promised to provide binary -- compatibility until we hit version 1.0, and even then, if -- you change your configuration. -- --Release highlights: -- o uClibc now has full ANSI/ISO C99 locale support (except -- for wcsftime() and collating items in regex). -- o Added support for using pre-generated locale data, making -- it easy for mere mortals to use uClibc w/locale support. -- o Lots of new tuning options added to trade size -- for features, allowing for smaller static binaries. -- o The "dlopen()'ing libraries that depend on libraries" -- problem was fixed. -- o A new scanf implementation. Well tested, but -- brand new so watch for obscure bugs... -- o Reworked and updated the Config system, adding several -- nice new features which we now use. -- o Lots and lots of sundry bug fixes and cleanups. -- -- -Erik -- -- -- -- -- --0.9.20 30 June 2003 -- --See Changelog.full for the complete list of who did what. -- --Note: -- This release remains binary compatible with 0.9.18 and 0.9.19. -- -- --Release highlights: -- o Some ldd, profiling, and gcc wrapper updates -- o Updated to support and compile with gcc 3.3 -- o Several needed mips updates -- o Building under cygwin should now work... -- o Prevent non-PIC code getting into PIC libs -- o Added mmap64 support -- o mmu-less systems now get a 16k default thread stack size -- which is much more sane than the old 2 MB default... -- o Implemented syscall() for powerpc -- o Optionally struct tm extension support -- o Lots of other sundry little fixes and cleanups. -- o Prevent buffer overflows in the passwd and group functions. -- -- -Erik -- -- -- -- -- --0.9.19 3 March 2003 -- --See Changelog.full for the complete list of who did what. -- --Note: -- This release remains binary compatible with 0.9.18 (except -- for mips, but then mips was unusable in stock 0.9.18 anyways). -- -- --Release highlights: -- Stefan Allius -- o Some Makefile and warning fixes -- David Airlie -- o Fixed gcc wrapper handling of ctor/dtor stuff when used in -- with and w/o the nostdinc and nostdlib options -- Erik Andersen -- o Fixed a number of system call kernel type/user type translation -- problems that scrambled a handful of system calls. -- o Fixup powerpc syscalls to eliminate warnings with gcc-3.2 -- o Fixed several ioctl special cases for powerpc -- o Checked in forgotten mips kernel_types.h changes -- o Fixed mips shared library loader bug that caused segfaults -- o Major update to the pthreads library. Should improve performance. -- o Fixed uClibc's shared library loader so we can properly debug -- applications using pthreads (must use gdb 5.3 or newer which -- was compiled using uClibc). -- o Made uClibc's ldd act just the glibc provided one (i.e. relying -- on the shared lib loader to do the work) when it is possible to -- doi so, and only rummage about the ELF headers when we have no -- other choice (such as when using 'ldd' on cross compiled stuff). -- Miles Bader -- o header file updates for v850 architecture -- o Fixed v850 crt0.S __uClibc_main argument stack space -- Jeffrey Damick -- o Fixed res_init() so it properly reloads /etc/resolv.conf -- Vadim Lebedev -- o Fixed ARM setjmp when floating point was disabled -- David McCullough -- o Removed debug (-g) when building crti.o and crtn.o, as -- debug would mess up the build for SH4 and probably others. -- o Fixed SH setjmp when floating point was enabled -- -- -- -Erik -- -- -- -- -- --0.9.18 12 February 2003 -- --See Changelog.full for the complete list of who did what. -- --Note: -- -- Once again, this release is _NOT_ binary compatible with earlier -- releases. I _think this will be the last time (with the possible -- exception of some future changes to our locale support...) -- -- --Release highlights: -- Stefan Allius -- o fixed a compile problem when large file support was disabled -- o fixed dlib_pic.o to compile with proper flags -- o fixed a shared lib loader compile warning -- o Made adding libgcc functions to uClibc optional -- Erik Andersen -- o Fixed scandir64 to not free the wrong pieces of memory -- which caused segfaults -- o Fixed mismatches between kernel and libc dirent structures -- o Fixed mismatches between the size of uClibc's struct dirent -- and struct dirent64 so that when _FILE_OFFSET_BITS=64 we -- do not lose part of the filename -- o Fixed getdents64.c so the build will not break when compiling -- vs a 2.0.x Linux kernel when UCLIBC_HAS_LFS is enabled -- o Create stub crti.o and crtn.o files when UCLIBC_CTOR_DTOR is disabled -- o Fixed licenses for a few files that erroneously were listed as GPL -- but were really LGPL after discussing with authors -- o sigaction for x86 had an extra and unwanted sigaction syscall -- o Fixed debugging of arm binaries by adding a .note.ABI-tag section -- Miles Bader -- o header file updates for v850 architecture -- o Fixed v850 clone syscall -- Christian Krause -- o Fixed pthread_cond_timedwait to properly uses rt singals -- when available -- Christophe Massiot -- o Added mips _flush_cache syscall -- David McCullough -- o Added m68k brk syscall -- Marshall M. Midden -- o Fixed pipe implementation for mips -- -- -- -Erik -- -- -- -- -- --0.9.17 25 January 2003 -- --See Changelog.full for the complete list of who did what. -- --Note: -- -- I have always reserved the right to make binary incompatible changes as -- needed prior to the "1.0" release. This release is a good example of -- that. A few bugs turned up that needed to be fixed and the only good way -- to fix them was to change some fundamental data structure sizes. So I did -- just that. As a result, this release is _NOT_ binary compatible with -- earlier releases -- you will need to recompile your applications. -- -- --Release highlights: -- Stefan Allius -- o fixed a number of shared library loader bugs -- o setjmp, longjmp, clone, and vfork cleanups for the SH architecture -- o Don't build the config system with ncurses unless asked to -- Tobias Anderberg -- o cris architecture updates -- Erik Andersen -- o Changed 'struct stat' and 'struct stat64' so they use types that -- are consistant with use elsewhere in the library. Without this, -- subtle bugs would occur due to comparing signed and unsigned -- types (for example, GNU tar wouldn't work) -- o Fixed dlopen so it works with staticly linked apps -- o Fixed sigaction on arm architecture so sa_restorer works properly -- o Fixed sigaction on x86 architecture for (fixed debugging threads) -- o Fixed a wide char related segfault in the regular expression code -- o Powerpc pread and pwrite are now implemented correctly -- o Powerpc syscall mechanism re-implemented -- o Sparc architecture and syscall mechanism fixed up so things compile -- o usershell reimplemented -- o Fixed global destructors for staticly linked applications -- o Added dynamic atexit support (needed for full C++ ctor/dtor support) -- o The ldd utility now acts more like the GNU utility -- o Added a stub libnsl library to make stupid configure scripts bahave -- o Always build crt1.o as well as crt0.o to minimize the need to mess -- with the compiler -- o Rewrote powerpc crt0.S to properly handle ctors/dtors -- o Removed unimplemented and legacy stuff from our header files to -- make configure behave better -- o Made the lib loader also support libs in /usr/X11R6/lib by default -- o Config system updates -- o networking function updates -- o Large file support updates -- o Lots of other little bug fixes and cleanups -- Nick Fedchik -- o Support ether_aton -- Nathan Field -- o Fixed pthread_mutex_lock and pthread_mutex_unlock so they -- actually work as advertised on mips -- o Fixed several nasty pthread bugs fixing debugging -- Brett Hunt -- o Fixed potential segfaults during 'make menuconfig' -- Jay Kulpinski -- o Fixed a subtle problem in the DNS resolver that prevented -- uncompressed DNS lookup responses from working -- David McCullough -- o Fixed pclose error handling -- David Meggy -- o fixed the problem where arm binaries would crash on start -- that Erik stupidly caused right before the last release. -- Manuel Novoa III -- o Major locale support update! -- o Allow people to use pregenerated locale data instead of generating -- approx 40Mb of glibc locales to get the 300+ locales currently -- supported. -- o locale dependent collation support -- o Fixed locale support tools to work when cross-compiling -- o Added the *wprintf functions -- o Added the wcsto{inttype} functions -- o Added iconv() and a mini iconv utility -- o Added hsearch and hsearch_r -- o Fixed a silly bug allowing wprintf %s to work correctly. -- o Fixed fdopen when used with "a" (append). -- o Fixed stdio file position handing to be sure fell() always -- gives correct results -- Luc Van Oostenryck -- o Fixed a buffer overflow in getlogin_r -- Yoshinori Sato -- o Hitachi h8300 architecture update -- Ronald Wahl -- o Powerpc shared library relocation fixes -- -- -Erik -- -- -- --0.9.16 8 November 2002 -- --See Changelog.full for the complete list of who did what. -- --Release highlights: -- o CRIS architecture and shared library support from Tobias Anderberg -- o New uClibc configuration system -- o shared library global constructors and destructors initialization -- ordering fixed by Stefan Allius -- o More SuperH architecture fixes from Stefan Allius -- o uClibc now compiles with newer versions of gcc (i.e. RedHat 8.0) -- o uClibc no longer requires perl to compile -- o mips dlopen was fixed by Steven J. Hill -- o pty and tty handling fixes -- o Manuel Novoa added support for a new /etc/TZ file for globally -- setting the system timezone. -- o Manuel also fixed up a number of remaining wide char issues. -- o Lots of other little bug fixes and cleanups -- -- -Erik -- -- -- --0.9.15 27 August 2002 -- --This is a minor bugfix release. -- --See Changelog.full for the complete list of who did what. --Release highlights: -- o Eliminated the HAS_LONG_LONG option. gcc always supports -- long long, and the option never excluded all long long anyways. -- o ctype.h no longer allows multiple argument evaluation in -- compliance with ANSI/ISO C99 -- o Obscure printf fixes -- one involving %o and one involving %f. -- o Bugfixes for locking and reentrance in password/group functions -- o Directly use kernel types for most items, eliminating needless -- translation and fixing several bugs. -- o Directly use kernel struct stat -- no more translating -- o More superH (sh) architecture merging from Stefan Allius -- o Errno values and strerror are now correct on alpha, sparc, and mips -- o Fixed an obscure bug with fclose when custom streams are enabled. -- o Lots of other little bug fixes and cleanups -- -- -Erik -- -- -- --0.9.14 12 August 2002 -- --This is a minor bugfix release. -- --See Changelog.full for the complete list of who did what. --Release highlights: -- o Fix a compile error when RPC and Pthread support -- were both enabled. -- o Eliminate duplicate define warnings in wstring.c. -- o Fix potentially broken preprocessor comparisons. -- o Erik was an idiot and broke thread locking in exit(), -- atexit() and friends. Fix that. -- o Fix the gcc wrapper to use crtbeginS.o and crtendS.o when -- compiling PIC code (crtbegin.o and crtend.o) otherwise. -- -- -Erik -- -- -- -- --0.9.13 9 August 2002 -- --Security Fixes -- o There was an off-by-one buffer overflow in the group -- handling code, fix thanks to Joseph Chiu. -- o There was an integer overflow bug in calloc, per -- http://online.securityfocus.com/bid/5398 |