[massive] add support for alternative C libraries (currently only glibc/eglibc)
[openwrt-10.03/.git] / toolchain / glibc-ports / patches / 2.7 / 103-arm_nptl_cargs6.patch
1 http://sourceware.org/ml/libc-ports/2008-02/msg00005.html
2
3 diff -durN glibc-ports-2.7.orig/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h
4 --- glibc-ports-2.7.orig/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h       2007-06-06 19:27:04.000000000 +0200
5 +++ glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h    2008-05-18 16:57:21.000000000 +0200
6 @@ -73,6 +73,9 @@
7  # define DOCARGS_5     DOCARGS_4
8  # define UNDOCARGS_5   UNDOCARGS_4
9  
10 +# define DOCARGS_6    DOCARGS_5
11 +# define UNDOCARGS_6  UNDOCARGS_5
12 +
13  # ifdef IS_IN_libpthread
14  #  define CENABLE      bl PLTJMP(__pthread_enable_asynccancel)
15  #  define CDISABLE     bl PLTJMP(__pthread_disable_asynccancel)