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

Modified Files:
	src/lib/libc/dlfcn [netbsd-2-0]: dlfcn_elf.c

Log Message:
Pull up revision 1.5 (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.4 -r1.4.2.1 src/lib/libc/dlfcn/dlfcn_elf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.