Konstantin Belousov bf390c1fbd 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>
2011-01-10 16:09:35 +00:00
..
2010-12-20 08:29:54 +00:00
2010-12-06 10:24:06 +00:00
2010-12-20 08:37:26 +00:00
2010-12-20 08:44:08 +00:00
2010-02-26 09:41:16 +00:00
2010-12-19 13:05:17 +00:00
2010-11-09 10:59:09 +00:00
2010-02-26 09:41:16 +00:00
2009-12-03 15:48:24 +00:00