freebsd-skq/libexec/rtld-elf/ia64
marcel 68f14f0597 Fix a nasty memory corruption bug caused by having a bogus pointer
for the DT_IA64_PLT_RESERVE dynamic table entry. When a shared object
does not have any PLT relocations, the linker apparently doesn't find
it necessary to actually reserve the space for the BOR (Bind On
Reference) entries as pointed to by the DTE. As a result, relocatable
data in the PLT was overwritten, causing some unexpected control flow
with annoyingly predictable outcome: coredump.
To reproduce:
	% echo 'int main() { return 0; }' > foo.c
	% cc -o foo foo.c -lxpg4
2002-08-22 03:56:57 +00:00
..
lockdflt.c Remove the nanosleep calls from the spin loops in the locking code. 2002-07-06 20:25:56 +00:00
Makefile.inc
reloc.c Fix a nasty memory corruption bug caused by having a bogus pointer 2002-08-22 03:56:57 +00:00
rtld_machdep.h Update rtld for the "new" ia64 ABI. In the old toolchain, the 2001-10-29 10:10:10 +00:00
rtld_start.S