freebsd-skq/libexec/rtld-elf
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
..
amd64 Add section .note.GNU-stack for assembly files used by 386 and amd64. 2011-01-07 16:07:05 +00:00
arm Implement support for ELF filters in rtld. Both normal and auxillary 2010-12-25 08:51:20 +00:00
i386 Add section .note.GNU-stack for assembly files used by 386 and amd64. 2011-01-07 16:07:05 +00:00
ia64 Implement support for ELF filters in rtld. Both normal and auxillary 2010-12-25 08:51:20 +00:00
mips Implement support for ELF filters in rtld. Both normal and auxillary 2010-12-25 08:51:20 +00:00
powerpc Implement support for ELF filters in rtld. Both normal and auxillary 2010-12-25 08:51:20 +00:00
powerpc64 Add support for R_PPC64_UADDR64 relocations. 2011-01-03 23:11:52 +00:00
sparc64 Implement support for ELF filters in rtld. Both normal and auxillary 2010-12-25 08:51:20 +00:00
debug.c
debug.h Use C99's varadic macro syntax instead of gcc's. 2006-03-28 18:26:47 +00:00
libmap.c Fix a malloc overrun in 32-bit compat libmap lookup code. 2006-01-31 06:08:28 +00:00
libmap.h Description from Dan: 2005-02-04 02:46:41 +00:00
Makefile Add a hook to pass debug flags to the build of rtld when doing make in 2010-12-25 08:42:38 +00:00
malloc.c Use the newly provided aux vectors to get pagesize and osreldate information. 2010-08-17 09:05:39 +00:00
map_object.c In rtld, read the initial stack access mode from AT_STACKPROT as set 2011-01-08 17:11:49 +00:00
rtld_lock.c Implement support for ELF filters in rtld. Both normal and auxillary 2010-12-25 08:51:20 +00:00
rtld_lock.h Implement support for ELF filters in rtld. Both normal and auxillary 2010-12-25 08:51:20 +00:00
rtld_tls.h
rtld.1 Implement support for ELF filters in rtld. Both normal and auxillary 2010-12-25 08:51:20 +00:00
rtld.c get_program_var_addr() must prefer the strong symbol to the weak 2011-01-10 16:09:35 +00:00
rtld.h In rtld, read the initial stack access mode from AT_STACKPROT as set 2011-01-08 17:11:49 +00:00
Symbol.map In rtld, read the initial stack access mode from AT_STACKPROT as set 2011-01-08 17:11:49 +00:00
xmalloc.c