Module Name: src Committed By: kamil Date: Fri Jan 5 19:29:44 UTC 2018
Modified Files: src/lib/libc/dlfcn: dlfcn_elf.c src/lib/libc/include: namespace.h Log Message: Register dl_iterate_phdr in the libc's namespace.h The NetBSD Standard C Library uses internally some of its functions with a mangled symbol name, usually "_symbol". The internal functions shall not use the global (public) symbols. Stop using the public global name of dl_iterate_phdr in tls/tls.c: __libc_static_tls_setup(). Follow the approach with other dlopen(3)-like functions with the namespace.h in the dl_iterate_phdr() case. Use internally a weak symbol: __dl_iterate_phdr instead of dl_iterate_phdr. Sponsored by <The NetBSD Foundation> To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc/dlfcn/dlfcn_elf.c cvs rdiff -u -r1.190 -r1.191 src/lib/libc/include/namespace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.