patches/glibc/ports-2.6.1/100-ARM-NPTL.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon May 25 17:16:49 2009 +0000 (2009-05-25)
branchgcc-4.4
changeset 1381 5d9b7f52514f
parent 365 ba634892cc18
permissions -rw-r--r--
/devel/gcc-4.4:
- GMP & MPFR: do not check the libraries by
default, update the help entries accordingly

-------- diffstat follows --------
/devel/gcc-4.4/config/companion_libs/gmp.in | 13 9 4 0 +++++++++----
/devel/gcc-4.4/config/companion_libs/mpfr.in | 14 10 4 0 ++++++++++----
2 files changed, 19 insertions(+), 8 deletions(-)
     1 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
     2 --- 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
     3 +++ 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
     4 @@ -126,3 +126,9 @@
     5  # define NO_CANCELLATION 1
     6  
     7  #endif
     8 +
     9 +#ifndef __ASSEMBLER__
    10 +# define RTLD_SINGLE_THREAD_P \
    11 +  __builtin_expect (THREAD_GETMEM (THREAD_SELF, \
    12 +                   header.multiple_threads) == 0, 1)
    13 +#endif