NetBSD-Bugs archive

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

PR/51654 CVS commit: src/lib/libc/misc



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

From: "Joerg Sonnenberger" <joerg%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/51654 CVS commit: src/lib/libc/misc
Date: Sat, 17 Jun 2017 15:26:44 +0000

 Module Name:	src
 Committed By:	joerg
 Date:		Sat Jun 17 15:26:44 UTC 2017
 
 Modified Files:
 	src/lib/libc/misc: initfini.c
 
 Log Message:
 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.14 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