mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-22 22:22:23 +00:00
05781a223c
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(+)
16 lines
547 B
Diff
16 lines
547 B
Diff
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
|