Subject: CVS commit: [netbsd-2-0] src/libexec/ld.elf_so
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 07/19/2004 09:06:52
Module Name:	src
Committed By:	tron
Date:		Mon Jul 19 09:06:52 UTC 2004

Modified Files:
	src/libexec/ld.elf_so [netbsd-2-0]: rtld.c

Log Message:
Pull up revision 1.106 (requested by thorpej in ticket #676):
- Change the strong dlfcn names in libc to ___name, and make the __name
versions used by others in libc weak, so that we have:
name: weak
__name: weak
___name: strong
- Add __name strong aliases of the dlfcn names in ld.elf_so, so that
we have:
name: strong
__name: strong
This allows ld.elf_so to self-resolve both the name and __name variants
of the dlfcn functions, the former being required for dlfcn support in
applications, the latter being required for dlfcn support in libc.
Fixes the problem described in:
http://mail-index.netbsd.org/tech-toolchain/2004/07/17/0000.html
Reviewed by Nick.


To generate a diff of this commit:
cvs rdiff -r1.101 -r1.101.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.