summaryrefslogtreecommitdiff
path: root/patches/glibc/ports-2.6.1
diff options
context:
space:
mode:
authorKirill K. Smirnov <kirill.k.smirnov@gmail.com>2016-09-14 22:02:54 (GMT)
committerKirill K. Smirnov <kirill.k.smirnov@gmail.com>2016-09-14 22:02:54 (GMT)
commit429b3e884662a3b9a72890aae23865501e66330f (patch)
tree5a307ec5f96e94a8212ce81ab8cce508951bbf36 /patches/glibc/ports-2.6.1
parent1d28793575d43d908b665fa6665d1b90b37f0af0 (diff)
patches: remove obsolete glibc patches
Glibc prior to 2.18, linuxthreads and ports are not supported. Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
Diffstat (limited to 'patches/glibc/ports-2.6.1')
-rw-r--r--patches/glibc/ports-2.6.1/100-ARM-NPTL.patch13
-rw-r--r--patches/glibc/ports-2.6.1/110-ARM-asm_page_h.patch11
-rw-r--r--patches/glibc/ports-2.6.1/120-lll_lock_t.patch156
-rw-r--r--patches/glibc/ports-2.6.1/130-powerpc-softfloat.patch21
4 files changed, 0 insertions, 201 deletions
diff --git a/patches/glibc/ports-2.6.1/100-ARM-NPTL.patch b/patches/glibc/ports-2.6.1/100-ARM-NPTL.patch
deleted file mode 100644
index 15de823..0000000
--- a/patches/glibc/ports-2.6.1/100-ARM-NPTL.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -durN glibc-2.6.1.orig/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h glibc-2.6.1/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h
---- glibc-2.6.1.orig/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h 2005-11-16 20:22:59.000000000 +0100
-+++ glibc-2.6.1/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h 2007-09-06 13:53:16.000000000 +0200
-@@ -126,3 +126,9 @@
- # define NO_CANCELLATION 1
-
- #endif
-+
-+#ifndef __ASSEMBLER__
-+# define RTLD_SINGLE_THREAD_P \
-+ __builtin_expect (THREAD_GETMEM (THREAD_SELF, \
-+ header.multiple_threads) == 0, 1)
-+#endif
diff --git a/patches/glibc/ports-2.6.1/110-ARM-asm_page_h.patch b/patches/glibc/ports-2.6.1/110-ARM-asm_page_h.patch
deleted file mode 100644
index 4e882af..0000000
--- a/patches/glibc/ports-2.6.1/110-ARM-asm_page_h.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -durN glibc-ports-2.7.orig/sysdeps/unix/sysv/linux/arm/ioperm.c glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/ioperm.c
---- glibc-2.6.1.orig/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/ioperm.c 2005-06-10 13:12:09.000000000 +0200
-+++ glibc-2.6.1/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/ioperm.c 2008-05-18 16:19:45.000000000 +0200
-@@ -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/patches/glibc/ports-2.6.1/120-lll_lock_t.patch b/patches/glibc/ports-2.6.1/120-lll_lock_t.patch
deleted file mode 100644
index b674337..0000000
--- a/patches/glibc/ports-2.6.1/120-lll_lock_t.patch
+++ /dev/null
@@ -1,156 +0,0 @@
-Propagate the patch from base glibc that changes lll_lock_t into a plain int,
-without using a typedef, as glibc-2.7 now does.
-
-diff -durN glibc-2.6.1.orig/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h glibc-2.6.1/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h
---- glibc-2.6.1.orig/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h 2006-08-04 20:56:15.000000000 +0200
-+++ glibc-2.6.1/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h 2008-07-28 23:49:29.000000000 +0200
-@@ -260,9 +260,6 @@
- /* Our internal lock implementation is identical to the binary-compatible
- mutex implementation. */
-
--/* Type for lock object. */
--typedef int lll_lock_t;
--
- /* Initializers for lock. */
- #define LLL_LOCK_INITIALIZER (0)
- #define LLL_LOCK_INITIALIZER_LOCKED (1)
-diff -durN glibc-2.6.1.orig/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c glibc-2.6.1/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c
---- glibc-2.6.1.orig/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c 2006-07-14 15:51:24.000000000 +0200
-+++ glibc-2.6.1/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c 2008-07-28 23:49:56.000000000 +0200
-@@ -25,7 +25,7 @@
-
-
- void
--__lll_lock_wait (lll_lock_t *futex)
-+__lll_lock_wait (int *futex)
- {
- do
- {
-@@ -38,7 +38,7 @@
-
-
- int
--__lll_timedlock_wait (lll_lock_t *futex, const struct timespec *abstime)
-+__lll_timedlock_wait (int *futex, const struct timespec *abstime)
- {
- /* Reject invalid timeouts. */
- if (abstime->tv_nsec < 0 || abstime->tv_nsec >= 1000000000)
-@@ -78,7 +78,7 @@
- /* These don't get included in libc.so */
- #ifdef IS_IN_libpthread
- int
--lll_unlock_wake_cb (lll_lock_t *futex)
-+lll_unlock_wake_cb (int *futex)
- {
- int val = atomic_exchange_rel (futex, 0);
-
-diff -durN glibc-2.6.1.orig/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h glibc-2.6.1/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
---- glibc-2.6.1.orig/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h 2006-09-07 18:34:43.000000000 +0200
-+++ glibc-2.6.1/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h 2008-07-28 23:50:54.000000000 +0200
-@@ -43,11 +43,6 @@
- /* Initialize locks to zero. */
- #define LLL_MUTEX_LOCK_INITIALIZER (0)
-
--
--/* Type for lock object. */
--typedef int lll_lock_t;
--
--
- #define lll_futex_wait(futexp, val) \
- ({ \
- INTERNAL_SYSCALL_DECL (__err); \
-@@ -108,7 +103,7 @@
- })
-
- static inline int __attribute__((always_inline))
--__lll_mutex_trylock(lll_lock_t *futex)
-+__lll_mutex_trylock(int *futex)
- {
- return atomic_compare_and_exchange_val_acq (futex, 1, 0) != 0;
- }
-@@ -124,17 +119,17 @@
-
-
- static inline int __attribute__((always_inline))
--__lll_mutex_cond_trylock(lll_lock_t *futex)
-+__lll_mutex_cond_trylock(int *futex)
- {
- return atomic_compare_and_exchange_val_acq (futex, 2, 0) != 0;
- }
- #define lll_mutex_cond_trylock(lock) __lll_mutex_cond_trylock (&(lock))
-
-
--extern void __lll_lock_wait (lll_lock_t *futex) attribute_hidden;
-+extern void __lll_lock_wait (int *futex) attribute_hidden;
-
- static inline void __attribute__((always_inline))
--__lll_mutex_lock(lll_lock_t *futex)
-+__lll_mutex_lock(int *futex)
- {
- if (atomic_compare_and_exchange_bool_acq (futex, 1, 0) != 0)
- __lll_lock_wait (futex);
-@@ -155,7 +150,7 @@
- __lll_robust_mutex_lock (&(futex), id)
-
- static inline void __attribute__ ((always_inline))
--__lll_mutex_cond_lock (lll_lock_t *futex)
-+__lll_mutex_cond_lock (int *futex)
- {
- if (atomic_compare_and_exchange_bool_acq (futex, 2, 0) != 0)
- __lll_lock_wait (futex);
-@@ -167,13 +162,13 @@
- __lll_robust_mutex_lock (&(futex), (id) | FUTEX_WAITERS)
-
-
--extern int __lll_timedlock_wait (lll_lock_t *futex, const struct timespec *)
-+extern int __lll_timedlock_wait (int *futex, const struct timespec *)
- attribute_hidden;
- extern int __lll_robust_timedlock_wait (int *futex, const struct timespec *)
- attribute_hidden;
-
- static inline int __attribute__ ((always_inline))
--__lll_mutex_timedlock (lll_lock_t *futex, const struct timespec *abstime)
-+__lll_mutex_timedlock (int *futex, const struct timespec *abstime)
- {
- int result = 0;
- if (atomic_compare_and_exchange_bool_acq (futex, 1, 0) != 0)
-@@ -197,7 +192,7 @@
-
-
- static inline void __attribute__ ((always_inline))
--__lll_mutex_unlock (lll_lock_t *futex)
-+__lll_mutex_unlock (int *futex)
- {
- int val = atomic_exchange_rel (futex, 0);
- if (__builtin_expect (val > 1, 0))
-@@ -218,7 +213,7 @@
-
-
- static inline void __attribute__ ((always_inline))
--__lll_mutex_unlock_force (lll_lock_t *futex)
-+__lll_mutex_unlock_force (int *futex)
- {
- (void) atomic_exchange_rel (futex, 0);
- lll_futex_wake (futex, 1);
-@@ -239,7 +234,7 @@
- #define THREAD_INIT_LOCK(PD, LOCK) \
- (PD)->LOCK = LLL_LOCK_INITIALIZER
-
--extern int lll_unlock_wake_cb (lll_lock_t *__futex) attribute_hidden;
-+extern int lll_unlock_wake_cb (int *__futex) attribute_hidden;
-
- /* The states of a lock are:
- 0 - untaken
-diff -durN glibc-2.6.1.orig/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h glibc-2.6.1/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
---- glibc-2.6.1.orig/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h 2006-08-04 20:54:56.000000000 +0200
-+++ glibc-2.6.1/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h 2008-07-28 23:51:14.000000000 +0200
-@@ -227,9 +227,6 @@
- /* Our internal lock implementation is identical to the binary-compatible
- mutex implementation. */
-
--/* Type for lock object. */
--typedef int lll_lock_t;
--
- /* Initializers for lock. */
- #define LLL_LOCK_INITIALIZER (0)
- #define LLL_LOCK_INITIALIZER_LOCKED (1)
diff --git a/patches/glibc/ports-2.6.1/130-powerpc-softfloat.patch b/patches/glibc/ports-2.6.1/130-powerpc-softfloat.patch
deleted file mode 100644
index 18aedd9..0000000
--- a/patches/glibc/ports-2.6.1/130-powerpc-softfloat.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From: http://sourceware.org/ml/crossgcc/2008-10/msg00044.html
-From: http://sources.redhat.com/ml/libc-ports/2007-06/msg00005.html
-
-2007-06-07 Steven Munroe <sjmunroe@us.ibm.com>
-
- * sysdeps/powerpc/nofpu/Makefile: Remove fe_nomask from libm-support.
-
-diff -urN glibc-2.6.orig/glibc-ports-2.6.1/sysdeps/powerpc/nofpu/Makefile glibc-2.6/glibc-ports-2.6.1/sysdeps/powerpc/nofpu/Makefile
---- glibc-2.6.orig/glibc-ports-2.6.1/sysdeps/powerpc/nofpu/Makefile 2006-11-22 09:13:11.000000000 -0600
-+++ glibc-2.6/glibc-ports-2.6.1/sysdeps/powerpc/nofpu/Makefile 2007-06-07 09:53:05.708240976 -0500
-@@ -6,7 +6,7 @@
- endif
-
- ifeq ($(subdir),math)
--libm-support += fenv_const fe_nomask
-+libm-support += fenv_const
- CPPFLAGS += -I../soft-fp/
- # The follow CFLAGS are a work around for GCC Bugzilla Bug 29253
- # "expand_abs wrong default code for floating point"
-
-