patches/glibc/2.7/230-powerpc-private_futex.patch
author Zhenqiang Chen <zhenqiang.chen@linaro.org>
Fri Nov 18 11:32:50 2011 +0800 (2011-11-18)
branch1.13
changeset 2841 64fe22ca6e6f
permissions -rw-r--r--
cc/gcc: Apply CT_CC_GCC_DISABLE_PCH to do_cc_core.

Otherwise, users have to input --disable-libstdcxx-pch option
when building bare-metal CANADIAN C++ compiler.

Reviewed-by: Michael Hope
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
(transplanted from e3e1c9d45bddfbfb433ee9d583faf42fa31f50c0)
     1 2008-04-28  Hiroki Kaminaga  <kaminaga@sm.sony.co.jp>
     2 
     3 	[BZ 6740]
     4 	nptl/sysdeps/powerpc/tcb-offsets.sym (PRIVATE_FUTEX_OFFSET):
     5 	Guard sym definition with #ifndef __ASSUME_PRIVATE_FUTEX.
     6 
     7 --- a/nptl/sysdeps/powerpc/tcb-offsets.sym
     8 +++ b/nptl/sysdeps/powerpc/tcb-offsets.sym
     9 @@ -15,4 +15,6 @@
    10  PID				thread_offsetof (pid)
    11  TID				thread_offsetof (tid)
    12  POINTER_GUARD			(offsetof (tcbhead_t, pointer_guard) - TLS_TCB_OFFSET - sizeof (tcbhead_t))
    13 +#ifndef __ASSUME_PRIVATE_FUTEX
    14  PRIVATE_FUTEX_OFFSET		thread_offsetof (header.private_futex)
    15 +#endif