Subject: CVS commit: src
To: None <source-changes@NetBSD.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 07/18/2004 17:26:19
Module Name:	src
Committed By:	thorpej
Date:		Sun Jul 18 17:26:19 UTC 2004

Modified Files:
	src/lib/libc/dlfcn: dlfcn_elf.c
	src/libexec/ld.elf_so: rtld.c symbol.c

Log Message:
- 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.5 src/lib/libc/dlfcn/dlfcn_elf.c
cvs rdiff -r1.105 -r1.106 src/libexec/ld.elf_so/rtld.c
cvs rdiff -r1.35 -r1.36 src/libexec/ld.elf_so/symbol.c

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