freebsd-skq/libexec/rtld-elf/powerpc
kib a95b8e72c8 Add support for STT_GNU_IFUNC and R_MACHINE_IRELATIVE GNU extensions to
rtld on 386 and amd64. This adds runtime bits neccessary for the use
of the dispatch functions from the dynamically-linked executables and
shared libraries.

To allow use of external references from the dispatch function, resolution
of the R_MACHINE_IRESOLVE relocations in PLT is postponed until GOT entries
for PLT are prepared, and normal resolution of the GOT entries is finished.
Similar to how it is done by GNU, IRELATIVE relocations are resolved in
advance, instead of normal lazy handling for PLT.

Move the init_pltgot() call before the relocations for the object are
processed.

MFC after:	3 weeks
2011-12-12 11:03:14 +00:00
..
Makefile.inc
reloc.c Add support for STT_GNU_IFUNC and R_MACHINE_IRELATIVE GNU extensions to 2011-12-12 11:03:14 +00:00
rtld_machdep.h When loading dso without PT_GNU_STACK phdr, only call 2011-01-25 21:12:31 +00:00
rtld_start.S Mark rtld on PowerPC as not requiring executable stack. 2011-01-14 11:32:31 +00:00