freebsd-dev/libexec/rtld-elf
Konstantin Belousov 5fd885b07b Fix the buggy rev. 1.117. dagmembers are only initialized for dlopen'ed
dso that are actually loading. If dso a.so depends on b.so, then dlsym
with handle from dlopen("b.so") will fail unconditionally.

Correct implementation shall use the Obj_Entry.needed list to walk
dependencies DAG.

Test provided by: jkim
Tested (prev. version) by:	jkim, Nicolas Blais <nb_root at videotron ca>, h.blanke at chello nl
Pointy hat to:	kib
Approved by:	kan (mentor)
2006-09-19 12:47:13 +00:00
..
amd64 *thwack*! all the world's not i386. 2006-03-29 12:29:01 +00:00
arm Implement ELF symbol versioning using GNU semantics. This code aims 2005-12-18 19:43:33 +00:00
i386 Don't use dbg if it isn't defined (such as when this file is used by 2006-03-28 18:28:07 +00:00
ia64 Use NULL for null-pointer argument. 2006-09-01 06:07:26 +00:00
powerpc o Fix the static TLS relocation. We were subtracting the size of 2006-09-01 06:08:50 +00:00
sparc64 Allocate space for thread pointer, this allows thread library to access 2006-03-28 06:09:24 +00:00
debug.c Fix warnings on 64 bit platforms. 2003-06-19 16:09:18 +00:00
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 So do it like we do in usr.bin/tip/tip/Makefile. ;) 2004-11-14 22:18:31 +00:00
malloc.c In preparation for a new malloc implementation: 2006-01-12 07:28:21 +00:00
map_object.c Implement ELF symbol versioning using GNU semantics. This code aims 2005-12-18 19:43:33 +00:00
rtld_lock.c Remove 80386 support from the ELF run time linker. 2004-11-16 20:45:51 +00:00
rtld_lock.h Fix warnings; no parameters in function prototypes. 2003-06-19 02:39:37 +00:00
rtld_tls.h Add support for Thread Local Storage. 2004-08-03 08:51:00 +00:00
rtld.1 Markup fixes. 2006-09-17 21:48:47 +00:00
rtld.c Fix the buggy rev. 1.117. dagmembers are only initialized for dlopen'ed 2006-09-19 12:47:13 +00:00
rtld.h Implement ELF symbol versioning using GNU semantics. This code aims 2005-12-18 19:43:33 +00:00
xmalloc.c Add function prototypes. 2003-06-19 05:28:26 +00:00