2aba02382e
o Set st_shndx for sym_zero to SHN_UNDEF instead of SHN_ABS. This gives us something to reliably test against. o For weak references to undefined sysmbols (as indicated by having st_shndx equals SHN_UNDEF) in the context of OPDs, the address of the OPD is to be zero, not the address of the function it contains. o For weak references to undefined symbols in all other cases (only DIR64LSB at this time), the actual relocated value is to be zero, not the value prior to relocating. Roughly speaking, weak references to undefined symbols are no-ops. Tested on: i386, ia64 |
||
---|---|---|
.. | ||
alpha | ||
amd64 | ||
i386 | ||
ia64 | ||
sparc64 | ||
debug.c | ||
debug.h | ||
Makefile | ||
malloc.c | ||
map_object.c | ||
rtld.1 | ||
rtld.c | ||
rtld.h | ||
xmalloc.c |