about summary refs log tree commit diff
path: root/elf/rtld.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-03-08 20:38:37 +0000
committerRoland McGrath <roland@gnu.org>2004-03-08 20:38:37 +0000
commitcc143ec3e0bd0e624379959fcbad7b739053bf19 (patch)
tree30d7618c2eb05744a4a3d064badcc9f0da90923a /elf/rtld.c
parent32c6ecbad33efed70dc432c1f50616dbfdb86f80 (diff)
downloadglibc-cc143ec3e0bd0e624379959fcbad7b739053bf19.tar.gz
glibc-cc143ec3e0bd0e624379959fcbad7b739053bf19.tar.xz
glibc-cc143ec3e0bd0e624379959fcbad7b739053bf19.zip
* elf/rtld.c (_rtld_global_ro) [MAP_COPY]: Don't set _dl_unload_cache.
	* sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps):
	Don't use INTUSE with _dl_signal_error.
Diffstat (limited to 'elf/rtld.c')
-rw-r--r--elf/rtld.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/rtld.c b/elf/rtld.c
index c9b9c1be80..139358c80d 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -133,7 +133,9 @@ struct rtld_global_ro _rtld_global_ro attribute_relro =
     ._dl_check_map_versions = _dl_check_map_versions,
     ._dl_init = _dl_init,
     ._dl_debug_state = _dl_debug_state,
+#ifndef MAP_COPY
     ._dl_unload_cache = _dl_unload_cache,
+#endif
     ._dl_debug_printf = _dl_debug_printf,
     ._dl_catch_error = _dl_catch_error,
     ._dl_signal_error = _dl_signal_error,