diff options
author | kib <kib@FreeBSD.org> | 2011-01-10 16:09:35 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2011-01-10 16:09:35 +0000 |
commit | 8106498fdd7b4a4f16bbab0b2f852b59f9dd6a6f (patch) | |
tree | af5d01824f13e23556131c75cfe408a242414448 /lib/libthr/thread/thr_stack.c | |
parent | f9f16511fff0fd926491cd31e0669e9b4e2c9042 (diff) | |
download | FreeBSD-src-8106498fdd7b4a4f16bbab0b2f852b59f9dd6a6f.zip FreeBSD-src-8106498fdd7b4a4f16bbab0b2f852b59f9dd6a6f.tar.gz |
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>
Diffstat (limited to 'lib/libthr/thread/thr_stack.c')
0 files changed, 0 insertions, 0 deletions