summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-10-29 21:46:32 +0000
committerUlrich Drepper <drepper@redhat.com>2006-10-29 21:46:32 +0000
commitb94817f9139b92e4bde284a63b1b6ec570055d38 (patch)
tree0f26988c2722e4044ccd83ee837315ae36c92873 /sysdeps/generic
parent78fbd00f39d48592d55bd4a022a909c9577b21db (diff)
downloadglibc-b94817f9139b92e4bde284a63b1b6ec570055d38.tar.gz
glibc-b94817f9139b92e4bde284a63b1b6ec570055d38.tar.xz
glibc-b94817f9139b92e4bde284a63b1b6ec570055d38.zip
* elf/dl-sym.c (do_sym): Use RTLD_SINGLE_THREAD_P.
	* elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
	* elf/dl-close.c (_dl_close_worker): Likewise.
	* elf/dl-open.c (_dl_open_worker): Likewise.
	* sysdeps/generic/sysdep-cancel.h (RTLD_SINGLE_THREAD_P): Define.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/sysdep-cancel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/generic/sysdep-cancel.h b/sysdeps/generic/sysdep-cancel.h
index f07b784f2e..ba6a1e04ba 100644
--- a/sysdeps/generic/sysdep-cancel.h
+++ b/sysdeps/generic/sysdep-cancel.h
@@ -2,6 +2,7 @@
 
 /* No multi-thread handling enabled.  */
 #define SINGLE_THREAD_P (1)
+#define RTLD_SINGLE_THREAD_P (1)
 #define LIBC_CANCEL_ASYNC()	0 /* Just a dummy value.  */
 #define LIBC_CANCEL_RESET(val)	((void)(val)) /* Nothing, but evaluate it.  */
 #define LIBC_CANCEL_HANDLED()	/* Nothing.  */