diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-09-06 12:38:52 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-09-06 12:38:52 +0000 |
commit | 0bee99ed389b8ffbdf5d9903daece3d491659f25 (patch) | |
tree | 4a76e32aae8a8db858a210e446263ad3363672f7 /patches/glibc | |
parent | 1cf24eb2a4396142048f1a5d0ee8eb0a19ea82d1 (diff) | |
download | crosstool-ng-0bee99ed389b8ffbdf5d9903daece3d491659f25.tar.gz crosstool-ng-0bee99ed389b8ffbdf5d9903daece3d491659f25.tar.bz2 crosstool-ng-0bee99ed389b8ffbdf5d9903daece3d491659f25.zip |
Add a patch to enqable NPTL build on ARM OABI with glibc-2.6.1.
Fix a comment.
Diffstat (limited to 'patches/glibc')
-rw-r--r-- | patches/glibc/ports-2.6.1/100-ARM-NPTL.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/glibc/ports-2.6.1/100-ARM-NPTL.patch b/patches/glibc/ports-2.6.1/100-ARM-NPTL.patch new file mode 100644 index 00000000..7cb14dec --- /dev/null +++ b/patches/glibc/ports-2.6.1/100-ARM-NPTL.patch @@ -0,0 +1,13 @@ +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 +--- glibc-ports-2.6.1.orig/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h 2005-11-16 20:22:59.000000000 +0100 ++++ glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h 2007-09-06 13:53:16.000000000 +0200 +@@ -126,3 +126,9 @@ + # define NO_CANCELLATION 1 + + #endif ++ ++#ifndef __ASSEMBLER__ ++# define RTLD_SINGLE_THREAD_P \ ++ __builtin_expect (THREAD_GETMEM (THREAD_SELF, \ ++ header.multiple_threads) == 0, 1) ++#endif |