NetBSD-Bugs archive

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

PR/51654 CVS commit: [netbsd-8] src/lib/libc/misc

The following reply was made to PR lib/51654; it has been noted by GNATS.

From: "Soren Jacobsen" <>
Subject: PR/51654 CVS commit: [netbsd-8] src/lib/libc/misc
Date: Wed, 21 Jun 2017 17:46:03 +0000

 Module Name:	src
 Committed By:	snj
 Date:		Wed Jun 21 17:46:02 UTC 2017
 Modified Files:
 	src/lib/libc/misc [netbsd-8]: initfini.c
 Log Message:
 Pull up following revision(s) (requested by joerg in ticket #44):
 	lib/libc/misc/initfini.c: revision 1.14
 PR 51654: Don't initialize _dlauxinfo for static binaries.
 Emacs likes save all memory of the main binary and the first run of
 _libc_init via .init will get the wrong (old) value of __ps_strings.
 By avoiding the initialization of _dlauxinfo for shared applications,
 it will be touched only by the _libc_init call from crt0.o itself,
 at which point __ps_strings is correct.
 To generate a diff of this commit:
 cvs rdiff -u -r1.13 -r1.13.6.1 src/lib/libc/misc/initfini.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index