aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-10-29 21:48:06 +0000
committerUlrich Drepper <drepper@redhat.com>2006-10-29 21:48:06 +0000
commitcf0494f3e7841fcbd4a996a2bacdce71fa62ca3e (patch)
tree9290014eef9fd767286db47d13820a27654b2877
parent069ba66371cc8566540f22195ffadab7eb83cef4 (diff)
downloadglibc-cf0494f3e7841fcbd4a996a2bacdce71fa62ca3e.tar.xz
glibc-cf0494f3e7841fcbd4a996a2bacdce71fa62ca3e.zip
(RTLD_SINGLE_THREAD_P): Define.
(SINGLE_THREAD_P): Define to 1 if IS_IN_rtld.
-rw-r--r--sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h b/sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h
index 7e61d68573..aa42768f70 100644
--- a/sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h
+++ b/sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h
@@ -163,13 +163,13 @@ extern int __local_multiple_threads attribute_hidden;
#else
-# ifdef IS_IN_rtld
-# define SINGLE_THREAD_P \
- __builtin_expect (THREAD_GETMEM (THREAD_SELF, \
- header.multiple_threads) == 0, 1)
-# else
-# define SINGLE_THREAD_P (1)
-# endif
+# define SINGLE_THREAD_P (1)
# define NO_CANCELLATION 1
#endif
+
+#ifndef __ASSEMBLER__
+# define RTLD_SINGLE_THREAD_P \
+ __builtin_expect (THREAD_GETMEM (THREAD_SELF, \
+ header.multiple_threads) == 0, 1)
+#endif