summaryrefslogtreecommitdiff
path: root/patches/eglibc/trunk/100-powerpc-private_futex.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-08-12 09:56:19 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-08-12 09:56:19 (GMT)
commit05781a223c7219817e1d394655c3a4c3beae2541 (patch)
treed5df9425c966bc1bf8794ddc836d9eb0e902efd0 /patches/eglibc/trunk/100-powerpc-private_futex.patch
parentebeba61f44502d92582128361e1a57fb24e85d49 (diff)
Add SPE extensions support for PowerPC (after a work by Thomas JOURDAN).
Add a PowerPC sample that supports SPE extensions. /trunk/arch/powerpc/functions | 13 13 0 0 + /trunk/arch/powerpc/config.in | 8 8 0 0 + /trunk/patches/gcc/4.3.1/340-make-mno-spe-work-as-expected.patch | 90 90 0 0 ++++ /trunk/samples/powerpc-unknown-linux-gnuspe/crosstool.config | 309 309 0 0 ++++++++++++++ 4 files changed, 420 insertions(+)
Diffstat (limited to 'patches/eglibc/trunk/100-powerpc-private_futex.patch')
-rw-r--r--patches/eglibc/trunk/100-powerpc-private_futex.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/patches/eglibc/trunk/100-powerpc-private_futex.patch b/patches/eglibc/trunk/100-powerpc-private_futex.patch
new file mode 100644
index 0000000..3016529
--- /dev/null
+++ b/patches/eglibc/trunk/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