Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/ld.elf_so undo previous unlock/relock; it is not nee...



details:   https://anonhg.NetBSD.org/src/rev/42a931841e1d
branches:  trunk
changeset: 450443:42a931841e1d
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Apr 14 19:21:37 2019 +0000

description:
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:

 libexec/ld.elf_so/rtld.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 782b5c4ab54a -r 42a931841e1d libexec/ld.elf_so/rtld.c
--- a/libexec/ld.elf_so/rtld.c  Sun Apr 14 19:13:17 2019 +0000
+++ b/libexec/ld.elf_so/rtld.c  Sun Apr 14 19:21:37 2019 +0000
@@ -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 @@
                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;
        }



Home | Main Index | Thread Index | Old Index