summaryrefslogtreecommitdiff
path: root/patches/eglibc/2_8/100-powerpc-private_futex.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-09-22 22:01:43 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-09-22 22:01:43 (GMT)
commit69dc5197af02e3a04564cbd89a8eee61b112ac46 (patch)
treeb6e7dac0b9ef2c6b8b360ba643d81e8c6d554261 /patches/eglibc/2_8/100-powerpc-private_futex.patch
parent8935b104210453fc0160377808a9ca657d6c9212 (diff)
Make eglibc build on systems where both autoconf-2.13 and autoconf-2.50 are installed (such as Debian).
/trunk/patches/eglibc/2_8/110-AC_PREREQ-2.50.patch | 78 78 0 0 ++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+)
Diffstat (limited to 'patches/eglibc/2_8/100-powerpc-private_futex.patch')
-rw-r--r--patches/eglibc/2_8/100-powerpc-private_futex.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/patches/eglibc/2_8/100-powerpc-private_futex.patch b/patches/eglibc/2_8/100-powerpc-private_futex.patch
new file mode 100644
index 0000000..3016529
--- /dev/null
+++ b/patches/eglibc/2_8/100-powerpc-private_futex.patch
@@ -0,0 +1,15 @@
+2008-04-28 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
+
+ [BZ 6740]
+ nptl/sysdeps/powerpc/tcb-offsets.sym (PRIVATE_FUTEX_OFFSET):
+ Guard sym definition with #ifndef __ASSUME_PRIVATE_FUTEX.
+
+--- a/nptl/sysdeps/powerpc/tcb-offsets.sym
++++ b/nptl/sysdeps/powerpc/tcb-offsets.sym
+@@ -15,4 +15,6 @@
+ PID thread_offsetof (pid)
+ TID thread_offsetof (tid)
+ POINTER_GUARD (offsetof (tcbhead_t, pointer_guard) - TLS_TCB_OFFSET - sizeof (tcbhead_t))
++#ifndef __ASSUME_PRIVATE_FUTEX
+ PRIVATE_FUTEX_OFFSET thread_offsetof (header.private_futex)
++#endif