freebsd-dev/libexec/rtld-elf/arm
Konstantin Belousov 6be4b69715 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 The NetBSD Foundation has granted permission to remove clauses 3 and 4. 2010-02-16 21:49:36 +00:00