Subject: PR/32074 CVS commit: [netbsd-3] src/libexec/ld.elf_so
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Matthias Scheler <tron@netbsd.org>
List: netbsd-bugs
Date: 02/01/2006 20:40:05
The following reply was made to PR toolchain/32074; it has been noted by GNATS.

From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/32074 CVS commit: [netbsd-3] src/libexec/ld.elf_so
Date: Wed,  1 Feb 2006 20:38:06 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Wed Feb  1 20:38:06 UTC 2006
 
 Modified Files:
 	src/libexec/ld.elf_so [netbsd-3]: rtld.c
 
 Log Message:
 Pull up following revision(s) (requested by christos in ticket #1150):
 	libexec/ld.elf_so/rtld.c: revision 1.109
 Bring across a change from FreeBSD from back in 1998:
 "Fix a bug that showed up when debugging dynamically linked programs.
 References from GDB to "printf" and various other functions would
 find the versions in the dynamic linker itself, rather than the
 versions in the program's libc.  This fix moves the GDB link map
 entry for the dynamic linker to the end of the search list, where
 its symbols will be found only if they are not found anywhere else."
 "printf" isn't true for us, but various libc symbols are, e.g. "malloc".
 Fixes PR 32074 as noted by uwe@
 OK'd by christos@
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.107 -r1.107.2.1 src/libexec/ld.elf_so/rtld.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.