Subject: CVS commit: [netbsd-3] src/libexec/ld.elf_so
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <email@example.com>
Date: 02/01/2006 20:38:06
Module Name: src
Committed By: tron
Date: Wed Feb 1 20:38:06 UTC 2006
src/libexec/ld.elf_so [netbsd-3]: rtld.c
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 -r18.104.22.168 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.