aboutsummaryrefslogtreecommitdiff
path: root/elf/rtld.c
diff options
context:
space:
mode:
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,