patches/glibc/ports-2.6.1/100-ARM-NPTL.patch
author |
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> |
|
Wed Oct 15 21:29:56 2008 +0000 (2008-10-15) |
changeset 940 |
f0f9ba3f98f2 |
parent 365 |
ba634892cc18
|
permissions |
-rw-r--r-- |
Cheesy kconfig stuff:
- silent/quiet/verbose build:
- ct-ng by default only prints quit messages, such as "CC xxx",
- if using V=0, nothing is printed,
- if using V=1, the full command lines are printed,
- other values are indeterminate,
- should help in debugging the kconfig stuff;
- complete kconfig/{,m}conf generation:
- fully dynamic dependencies on source files,
- compilation of .c into .o, then linking (instead of direct linking),
- VPATH usage when not --local;
Typo + a coment moved.
/trunk/kconfig/kconfig.mk | 140 87 53 0 +++++++++++++++++++++++++++++++++--------------------
/trunk/tools/tools.mk | 12 6 6 0 ++--
/trunk/steps.mk | 6 3 3 0 +-
/trunk/samples/samples.mk | 30 15 15 0 +++++-----
/trunk/ct-ng.in | 40 28 12 0 +++++++++++----
5 files changed, 139 insertions(+), 89 deletions(-)
yann@365
|
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
|
yann@367
|
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
|
yann@367
|
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
|
yann@365
|
4 |
@@ -126,3 +126,9 @@
|
yann@365
|
5 |
# define NO_CANCELLATION 1
|
yann@365
|
6 |
|
yann@365
|
7 |
#endif
|
yann@365
|
8 |
+
|
yann@365
|
9 |
+#ifndef __ASSEMBLER__
|
yann@365
|
10 |
+# define RTLD_SINGLE_THREAD_P \
|
yann@365
|
11 |
+ __builtin_expect (THREAD_GETMEM (THREAD_SELF, \
|
yann@365
|
12 |
+ header.multiple_threads) == 0, 1)
|
yann@365
|
13 |
+#endif
|