diff options
| author | Ulrich Drepper <drepper@redhat.com> | 2006-10-29 21:48:06 +0000 |
|---|---|---|
| committer | Ulrich Drepper <drepper@redhat.com> | 2006-10-29 21:48:06 +0000 |
| commit | cf0494f3e7841fcbd4a996a2bacdce71fa62ca3e (patch) | |
| tree | 9290014eef9fd767286db47d13820a27654b2877 | |
| parent | 069ba66371cc8566540f22195ffadab7eb83cef4 (diff) | |
| download | glibc-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.h | 14 |
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 |
