summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2019-04-14 19:21:37 +0000
committerchristos <christos@NetBSD.org>2019-04-14 19:21:37 +0000
commitcff99aeef9a09948a13db8f77fc6c7ef5e6fbbc5 (patch)
tree8b44c17358eac937df6e03b5446d20a8c9d025d3 /libexec
parent8d80c3e5ec08eb9d4203106932b16efffa36fb26 (diff)
undo previous unlock/relock; it is not needed now that we added the tls model
declaration to all externs in jemalloc (suggested by joerg@)
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ld.elf_so/rtld.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libexec/ld.elf_so/rtld.c b/libexec/ld.elf_so/rtld.c
index 11b176efee6..f6eb058ea49 100644
--- a/libexec/ld.elf_so/rtld.c
+++ b/libexec/ld.elf_so/rtld.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rtld.c,v 1.196 2019/04/13 03:15:25 christos Exp $ */
+/* $NetBSD: rtld.c,v 1.197 2019/04/14 19:21:37 christos Exp $ */
/*
* Copyright 1996 John D. Polstra.
@@ -40,7 +40,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: rtld.c,v 1.196 2019/04/13 03:15:25 christos Exp $");
+__RCSID("$NetBSD: rtld.c,v 1.197 2019/04/14 19:21:37 christos Exp $");
#endif /* not lint */
#include <sys/param.h>
@@ -1462,9 +1462,7 @@ dl_iterate_phdr(int (*callback)(struct dl_phdr_info *, size_t, void *), void *pa
phdr_info.dlpi_subs = _rtld_objloads - _rtld_objcount;
/* XXXlocking: exit point */
- _rtld_shared_exit();
error = callback(&phdr_info, sizeof(phdr_info), param);
- _rtld_shared_enter();
if (error)
break;
}