summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_stack.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2011-01-10 16:09:35 +0000
committerkib <kib@FreeBSD.org>2011-01-10 16:09:35 +0000
commit8106498fdd7b4a4f16bbab0b2f852b59f9dd6a6f (patch)
treeaf5d01824f13e23556131c75cfe408a242414448 /lib/libthr/thread/thr_stack.c
parentf9f16511fff0fd926491cd31e0669e9b4e2c9042 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud