summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-02 09:47:00 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-07-02 09:47:00 +0000
commit357a58811b8f500c6b2653fbe7a0fea2412534f7 (patch)
treea2a4108ebd6ba595687529a10299bba9232bb0a6 /toolchain
parentab15244ecef176a8d2337a4a88a59416a22208d8 (diff)
downloadmtk-20170518-357a58811b8f500c6b2653fbe7a0fea2412534f7.zip
mtk-20170518-357a58811b8f500c6b2653fbe7a0fea2412534f7.tar.gz
mtk-20170518-357a58811b8f500c6b2653fbe7a0fea2412534f7.tar.bz2
eglibc: remove old versions
SVN-Revision: 27360
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/eglibc/Config.in25
-rw-r--r--toolchain/eglibc/Config.version6
-rw-r--r--toolchain/eglibc/patches/2.6.1/101-arm_asm_page_h.patch11
-rw-r--r--toolchain/eglibc/patches/2.7/101-arm_asm_page_h.patch11
-rw-r--r--toolchain/eglibc/patches/2.7/103-arm_nptl_cargs6.patch13
-rw-r--r--toolchain/eglibc/patches/2.7/104-arm_nptl_lowlevellock.patch11
-rw-r--r--toolchain/eglibc/patches/2.8/100-darwin_cross.patch57
-rw-r--r--toolchain/eglibc/patches/2.8/103-arm_nptl_cargs6.patch13
-rw-r--r--toolchain/eglibc/patches/2.8/104-arm_nptl_lowlevellock.patch11
-rw-r--r--toolchain/eglibc/patches/2.9/100-darwin_cross.patch71
-rw-r--r--toolchain/eglibc/patches/2.9/901-glibc_bug_7048.patch14
11 files changed, 0 insertions, 243 deletions
diff --git a/toolchain/eglibc/Config.in b/toolchain/eglibc/Config.in
index 2054e95..fb2b982 100644
--- a/toolchain/eglibc/Config.in
+++ b/toolchain/eglibc/Config.in
@@ -5,25 +5,6 @@ choice
help
Select the version of eglibc you wish to use.
- config EGLIBC_VERSION_2_6
- bool "eglibc 2.6"
-
- config EGLIBC_VERSION_2_7
- bool "eglibc 2.7"
-
- config EGLIBC_VERSION_2_8
- bool "eglibc 2.8"
-
- config EGLIBC_VERSION_2_9
- bool "eglibc 2.9"
-
- config EGLIBC_VERSION_2_10
- bool "eglibc 2.10"
-
- config EGLIBC_VERSION_2_11
- bool "eglibc 2.11"
- depends !GCC_VERSION_LLVM
-
config EGLIBC_VERSION_2_12
bool "eglibc 2.12"
depends !GCC_VERSION_LLVM
@@ -41,12 +22,6 @@ config EGLIBC_REVISION
string
prompt "eglibc revision"
depends on TOOLCHAINOPTS && USE_EGLIBC
- default "5887" if EGLIBC_VERSION_2_6
- default "8588" if EGLIBC_VERSION_2_7
- default "8587" if EGLIBC_VERSION_2_8
- default "10153" if EGLIBC_VERSION_2_9
- default "10152" if EGLIBC_VERSION_2_10
- default "10454" if EGLIBC_VERSION_2_11
default "10495" if EGLIBC_VERSION_2_12
default "13055" if EGLIBC_VERSION_2_13
default "HEAD" if EGLIBC_VERSION_TRUNK
diff --git a/toolchain/eglibc/Config.version b/toolchain/eglibc/Config.version
index b3e2a15..3a81ded 100644
--- a/toolchain/eglibc/Config.version
+++ b/toolchain/eglibc/Config.version
@@ -1,12 +1,6 @@
config EGLIBC_VERSION
string
depends on USE_EGLIBC
- default "2.6.1" if EGLIBC_VERSION_2_6
- default "2.7" if EGLIBC_VERSION_2_7
- default "2.8" if EGLIBC_VERSION_2_8
- default "2.9" if EGLIBC_VERSION_2_9
- default "2.10.2" if EGLIBC_VERSION_2_10
- default "2.11.1" if EGLIBC_VERSION_2_11
default "2.12" if EGLIBC_VERSION_2_12
default "2.13" if EGLIBC_VERSION_2_13
default "trunk"
diff --git a/toolchain/eglibc/patches/2.6.1/101-arm_asm_page_h.patch b/toolchain/eglibc/patches/2.6.1/101-arm_asm_page_h.patch
deleted file mode 100644
index f7b0778..0000000
--- a/toolchain/eglibc/patches/2.6.1/101-arm_asm_page_h.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -ruN eglibc-2.6-orig/ports/sysdeps/unix/sysv/linux/arm/ioperm.c eglibc-2.6/ports/sysdeps/unix/sysv/linux/arm/ioperm.c
---- eglibc-2.6-orig/ports/sysdeps/unix/sysv/linux/arm/ioperm.c 2006-08-17 03:23:58.000000000 +0200
-+++ eglibc-2.6/ports/sysdeps/unix/sysv/linux/arm/ioperm.c 2008-11-04 16:21:04.000000000 +0100
-@@ -45,7 +45,6 @@
- #include <sys/mman.h>
-
- #include <linux/version.h>
--#include <asm/page.h>
- #include <sys/sysctl.h>
-
- #define PATH_ARM_SYSTYPE "/etc/arm_systype"
diff --git a/toolchain/eglibc/patches/2.7/101-arm_asm_page_h.patch b/toolchain/eglibc/patches/2.7/101-arm_asm_page_h.patch
deleted file mode 100644
index edec707..0000000
--- a/toolchain/eglibc/patches/2.7/101-arm_asm_page_h.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -ruN eglibc-2.7-orig/ports/sysdeps/unix/sysv/linux/arm/ioperm.c eglibc-2.7/ports/sysdeps/unix/sysv/linux/arm/ioperm.c
---- eglibc-2.7-orig/ports/sysdeps/unix/sysv/linux/arm/ioperm.c 2006-08-17 03:23:58.000000000 +0200
-+++ eglibc-2.7/ports/sysdeps/unix/sysv/linux/arm/ioperm.c 2008-11-04 16:12:24.375864916 +0100
-@@ -45,7 +45,6 @@
- #include <sys/mman.h>
-
- #include <linux/version.h>
--#include <asm/page.h>
- #include <sys/sysctl.h>
-
- #define PATH_ARM_SYSTYPE "/etc/arm_systype"
diff --git a/toolchain/eglibc/patches/2.7/103-arm_nptl_cargs6.patch b/toolchain/eglibc/patches/2.7/103-arm_nptl_cargs6.patch
deleted file mode 100644
index 97bdc98..0000000
--- a/toolchain/eglibc/patches/2.7/103-arm_nptl_cargs6.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -ruN eglibc-2.7-orig/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h eglibc-2.7/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h
---- eglibc-2.7-orig/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h 2007-06-06 19:48:04.000000000 +0200
-+++ eglibc-2.7/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h 2008-11-04 16:48:29.000000000 +0100
-@@ -73,6 +73,9 @@
- # define DOCARGS_5 DOCARGS_4
- # define UNDOCARGS_5 UNDOCARGS_4
-
-+# define DOCARGS_6 DOCARGS_5
-+# define UNDOCARGS_6 UNDOCARGS_5
-+
- # ifdef IS_IN_libpthread
- # define CENABLE bl PLTJMP(__pthread_enable_asynccancel)
- # define CDISABLE bl PLTJMP(__pthread_disable_asynccancel)
diff --git a/toolchain/eglibc/patches/2.7/104-arm_nptl_lowlevellock.patch b/toolchain/eglibc/patches/2.7/104-arm_nptl_lowlevellock.patch
deleted file mode 100644
index 6782307..0000000
--- a/toolchain/eglibc/patches/2.7/104-arm_nptl_lowlevellock.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -ruN eglibc-2.7-orig/ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h eglibc-2.7/ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h
---- eglibc-2.7-orig/ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h 2007-09-12 18:26:54.000000000 +0200
-+++ eglibc-2.7/ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h 2008-11-04 17:11:21.000000000 +0100
-@@ -25,6 +25,7 @@
- #include <atomic.h>
- #include <sysdep.h>
- #include <kernel-features.h>
-+#include <tls.h>
-
- #define FUTEX_WAIT 0
- #define FUTEX_WAKE 1
diff --git a/toolchain/eglibc/patches/2.8/100-darwin_cross.patch b/toolchain/eglibc/patches/2.8/100-darwin_cross.patch
deleted file mode 100644
index 198b583..0000000
--- a/toolchain/eglibc/patches/2.8/100-darwin_cross.patch
+++ /dev/null
@@ -1,57 +0,0 @@
---- a/libc/sunrpc/rpc/types.h
-+++ b/libc/sunrpc/rpc/types.h
-@@ -68,6 +68,7 @@ typedef unsigned long rpcport_t;
- #include <sys/types.h>
- #endif
-
-+#if !defined(_CROSS_RPCGEN_) || !defined(__APPLE__)
- #ifndef __u_char_defined
- typedef __u_char u_char;
- typedef __u_short u_short;
-@@ -83,6 +84,7 @@ typedef __daddr_t daddr_t;
- typedef __caddr_t caddr_t;
- # define __daddr_t_defined
- #endif
-+#endif
-
- #include <sys/time.h>
- #include <sys/param.h>
---- a/libc/sunrpc/rpc_main.c
-+++ b/libc/sunrpc/rpc_main.c
-@@ -40,7 +40,11 @@
- #include <stdio.h>
- #include <string.h>
- #include <unistd.h>
-+#ifdef _CROSS_RPCGEN_
-+#define gettext(X) (X)
-+#else
- #include <libintl.h>
-+#endif
- #include <ctype.h>
- #include <sys/types.h>
- #include <sys/param.h>
---- a/libc/sunrpc/rpc_scan.c
-+++ b/libc/sunrpc/rpc_scan.c
-@@ -39,7 +39,11 @@
- #include <stdio.h>
- #include <ctype.h>
- #include <string.h>
-+#ifdef _CROSS_RPCGEN_
-+#define gettext(X) (X)
-+#else
- #include <libintl.h>
-+#endif
- #include "rpc_scan.h"
- #include "rpc_parse.h"
- #include "rpc_util.h"
---- a/libc/timezone/Makefile
-+++ b/libc/timezone/Makefile
-@@ -181,7 +181,7 @@ zic-objs = zic.o ialloc.o scheck.o
- $(objpfx)zic: $(addprefix $(objpfx), $(zic-objs))
-
- $(addprefix $(objpfx)cross-,$(zic-objs)): $(objpfx)cross-%.o: %.c
-- gcc $< -c $(OUTPUT_OPTION) $(CFLAGS-$*.c) $(CPPFLAGS-$*) \
-+ gcc $< -c $(OUTPUT_OPTION) $(filter-out -DHAVE_GETTEXT,$(CFLAGS-$*.c)) $(CPPFLAGS-$*) \
- $(compile-mkdep-flags)
-
- $(objpfx)cross-zic: $(addprefix $(objpfx)cross-,$(zic-objs))
diff --git a/toolchain/eglibc/patches/2.8/103-arm_nptl_cargs6.patch b/toolchain/eglibc/patches/2.8/103-arm_nptl_cargs6.patch
deleted file mode 100644
index 97bdc98..0000000
--- a/toolchain/eglibc/patches/2.8/103-arm_nptl_cargs6.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -ruN eglibc-2.7-orig/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h eglibc-2.7/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h
---- eglibc-2.7-orig/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h 2007-06-06 19:48:04.000000000 +0200
-+++ eglibc-2.7/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h 2008-11-04 16:48:29.000000000 +0100
-@@ -73,6 +73,9 @@
- # define DOCARGS_5 DOCARGS_4
- # define UNDOCARGS_5 UNDOCARGS_4
-
-+# define DOCARGS_6 DOCARGS_5
-+# define UNDOCARGS_6 UNDOCARGS_5
-+
- # ifdef IS_IN_libpthread
- # define CENABLE bl PLTJMP(__pthread_enable_asynccancel)
- # define CDISABLE bl PLTJMP(__pthread_disable_asynccancel)
diff --git a/toolchain/eglibc/patches/2.8/104-arm_nptl_lowlevellock.patch b/toolchain/eglibc/patches/2.8/104-arm_nptl_lowlevellock.patch
deleted file mode 100644
index 6782307..0000000
--- a/toolchain/eglibc/patches/2.8/104-arm_nptl_lowlevellock.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -ruN eglibc-2.7-orig/ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h eglibc-2.7/ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h
---- eglibc-2.7-orig/ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h 2007-09-12 18:26:54.000000000 +0200
-+++ eglibc-2.7/ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h 2008-11-04 17:11:21.000000000 +0100
-@@ -25,6 +25,7 @@
- #include <atomic.h>
- #include <sysdep.h>
- #include <kernel-features.h>
-+#include <tls.h>
-
- #define FUTEX_WAIT 0
- #define FUTEX_WAKE 1
diff --git a/toolchain/eglibc/patches/2.9/100-darwin_cross.patch b/toolchain/eglibc/patches/2.9/100-darwin_cross.patch
deleted file mode 100644
index a9fddb7..0000000
--- a/toolchain/eglibc/patches/2.9/100-darwin_cross.patch
+++ /dev/null
@@ -1,71 +0,0 @@
---- a/libc/sunrpc/rpc/types.h
-+++ b/libc/sunrpc/rpc/types.h
-@@ -68,6 +68,7 @@ typedef unsigned long rpcport_t;
- #include <sys/types.h>
- #endif
-
-+#if !defined(_CROSS_RPCGEN_) || !defined(__APPLE__)
- #ifndef __u_char_defined
- typedef __u_char u_char;
- typedef __u_short u_short;
-@@ -83,6 +84,7 @@ typedef __daddr_t daddr_t;
- typedef __caddr_t caddr_t;
- # define __daddr_t_defined
- #endif
-+#endif
-
- #include <sys/time.h>
- #include <sys/param.h>
---- a/libc/sunrpc/rpc_main.c
-+++ b/libc/sunrpc/rpc_main.c
-@@ -40,7 +40,11 @@
- #include <stdio.h>
- #include <string.h>
- #include <unistd.h>
-+#ifdef _CROSS_RPCGEN_
-+#define gettext(X) (X)
-+#else
- #include <libintl.h>
-+#endif
- #include <ctype.h>
- #include <sys/types.h>
- #include <sys/param.h>
-@@ -998,9 +1002,10 @@ mkfile_output (struct commandline *cmd)
- abort ();
- temp = rindex (cmd->infile, '.');
- cp = stpcpy (mkfilename, "Makefile.");
-- if (temp != NULL)
-- *((char *) stpncpy (cp, cmd->infile, temp - cmd->infile)) = '\0';
-- else
-+ if (temp != NULL) {
-+ strncpy (cp, cmd->infile, temp - cmd->infile);
-+ cp[temp - cmd->infile - 1] = '\0';
-+ } else
- stpcpy (cp, cmd->infile);
-
- }
---- a/libc/sunrpc/rpc_scan.c
-+++ b/libc/sunrpc/rpc_scan.c
-@@ -39,7 +39,11 @@
- #include <stdio.h>
- #include <ctype.h>
- #include <string.h>
-+#ifdef _CROSS_RPCGEN_
-+#define gettext(X) (X)
-+#else
- #include <libintl.h>
-+#endif
- #include "rpc_scan.h"
- #include "rpc_parse.h"
- #include "rpc_util.h"
---- a/libc/timezone/Makefile
-+++ b/libc/timezone/Makefile
-@@ -181,7 +181,7 @@ zic-objs = zic.o ialloc.o scheck.o
- $(objpfx)zic: $(addprefix $(objpfx), $(zic-objs))
-
- $(addprefix $(objpfx)cross-,$(zic-objs)): $(objpfx)cross-%.o: %.c
-- gcc $< -c $(OUTPUT_OPTION) $(CFLAGS-$*.c) $(CPPFLAGS-$*) \
-+ gcc $< -c $(OUTPUT_OPTION) $(filter-out -DHAVE_GETTEXT,$(CFLAGS-$*.c)) $(CPPFLAGS-$*) \
- -DCROSS_ZIC $(compile-mkdep-flags)
-
- $(objpfx)cross-zic: $(addprefix $(objpfx)cross-,$(zic-objs))
diff --git a/toolchain/eglibc/patches/2.9/901-glibc_bug_7048.patch b/toolchain/eglibc/patches/2.9/901-glibc_bug_7048.patch
deleted file mode 100644
index 3d14a38..0000000
--- a/toolchain/eglibc/patches/2.9/901-glibc_bug_7048.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-http://sourceware.org/bugzilla/show_bug.cgi?id=7048
-
---- a/libc/sysdeps/i386/dl-tlsdesc.S
-+++ b/libc/sysdeps/i386/dl-tlsdesc.S
-@@ -128,8 +128,7 @@
- .Lslow:
- cfi_adjust_cfa_offset (28)
- movl %ebx, 16(%esp)
-- call __i686.get_pc_thunk.bx
-- addl $_GLOBAL_OFFSET_TABLE_, %ebx
-+ LOAD_PIC_REG(bx)
- call ___tls_get_addr@PLT
- movl 16(%esp), %ebx
- jmp .Lret