Date: Mon, 10 Jan 2011 16:09:35 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/libexec/rtld-elf rtld.c Message-ID: <201101101609.p0AG9p1e048636@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2011-01-10 16:09:35 UTC
FreeBSD src repository
Modified files:
libexec/rtld-elf rtld.c
Log:
SVN rev 217223 on 2011-01-10 16:09:35Z by kib
get_program_var_addr() must prefer the strong symbol to the weak
one. Search global objects, together with main object and
dependencies, for the requested symbol.
Move the common code from symlook_default() into new helper
symlook_global(), and use it both in symlook_global() and
get_program_var_addr().
Supply lock state to get_program_var_addr().
Reviewed by: kan
Tested by: Mykola Dzham <i levsha me>
Revision Changes Path
1.165 +84 -65 src/libexec/rtld-elf/rtld.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101101609.p0AG9p1e048636>
