HardenedBSD/libexec/rtld-elf
Leandro Lupori a5467d6ca2 Handle non-PLT GNU IFUNC relocations in rtld
In the last IFUNC related changes to rtld, the code that handled non-PLT
GNU IFUNC relocations ended up getting lost. This could leave some
relocations unhandled, causing crashes or misbehavior. This change restores
the handling of these relocations, but now together with the other IFUNC
relocations, allowing resolvers to reference external symbols.

Reviewed by:	kib
MFC after:	2 weeks
Sponsored by:	Eldorado Research Institute (eldorado.org.br)
Differential Revision:	https://reviews.freebsd.org/D25550
2020-07-06 11:57:59 +00:00
..
aarch64 Align initial-exec TLS segments to the p_vaddr % align. 2020-04-19 09:28:59 +00:00
amd64 Align initial-exec TLS segments to the p_vaddr % align. 2020-04-19 09:28:59 +00:00
arm Move ARM specific flags to arm/Makefile.inc 2020-04-29 16:05:50 +00:00
i386 Align initial-exec TLS segments to the p_vaddr % align. 2020-04-19 09:28:59 +00:00
mips Align initial-exec TLS segments to the p_vaddr % align. 2020-04-19 09:28:59 +00:00
powerpc Align initial-exec TLS segments to the p_vaddr % align. 2020-04-19 09:28:59 +00:00
powerpc64 Align initial-exec TLS segments to the p_vaddr % align. 2020-04-19 09:28:59 +00:00
riscv Align initial-exec TLS segments to the p_vaddr % align. 2020-04-19 09:28:59 +00:00
rtld-libc rtld: set osrel when in the direct exec mode. 2020-06-12 22:10:03 +00:00
tests
debug.c
debug.h
libmap.c
libmap.conf
libmap.h
Makefile Remove tests for obsolete compilers in the build system 2020-05-12 15:22:40 +00:00
Makefile.depend
map_object.c Make p_vaddr % p_align == p_offset % p_align for (some) TLS segments. 2020-04-04 22:37:50 +00:00
paths.h
rtld_lock.c Use sigfastblock(2) in rtld. 2020-02-09 12:22:43 +00:00
rtld_lock.h
rtld_malloc.c Remove remnants of optimization for > pagesize allocations. 2019-09-02 08:03:29 +00:00
rtld_malloc.h
rtld_printf.c
rtld_printf.h
rtld_tls.h Remove sparc64 specific parts of rtld-elf. 2020-02-26 18:49:25 +00:00
rtld_utrace.h
rtld.1 rtld: Add -b option to allow to specify image name different from arg0. 2020-05-31 22:37:33 +00:00
rtld.c Handle non-PLT GNU IFUNC relocations in rtld 2020-07-06 11:57:59 +00:00
rtld.h Do not allow to load ET_DYN object with DF_1_PIE flag set. 2020-06-02 16:20:58 +00:00
Symbol.map Add version indicators to rtld. 2020-05-26 19:22:46 +00:00
xmalloc.c Make p_vaddr % p_align == p_offset % p_align for (some) TLS segments. 2020-04-04 22:37:50 +00:00