freebsd-src/libexec/rtld-elf
Alex Richardson 04262ed78d rtld-elf: Add CFI annotation for .rtld_start on RISC-V
Without this change, unwinders such as LLVM libunwind will attempt to
unwind beyond the start of RTLD and get stuck in an infinite loop or
crash (depending on the current values on the stack).
This fixes an infinite loop in the LLVM libunwind test suite on RISC-V.

See also https://reviews.freebsd.org/D40844 for AArch64

Reviewed By:	#riscv, jhb
MFC After:	2 weeks
Differential Revision: https://reviews.freebsd.org/D46406
2024-08-25 21:51:55 -07:00
..
aarch64 rtld-elf: Pass parsed aux_info to ifunc_init 2024-08-22 20:36:44 +01:00
amd64 rtld-elf: Pass parsed aux_info to ifunc_init 2024-08-22 20:36:44 +01:00
arm rtld-elf: Pass parsed aux_info to ifunc_init 2024-08-22 20:36:44 +01:00
i386 rtld-elf: Pass parsed aux_info to ifunc_init 2024-08-22 20:36:44 +01:00
powerpc rtld-elf: Pass parsed aux_info to ifunc_init 2024-08-22 20:36:44 +01:00
powerpc64 rtld-elf: Pass parsed aux_info to ifunc_init 2024-08-22 20:36:44 +01:00
riscv rtld-elf: Add CFI annotation for .rtld_start on RISC-V 2024-08-25 21:51:55 -07:00
rtld-libc rtld: remove pointless "extern" 2024-02-21 02:26:10 +02:00
tests Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
debug.c
debug.h
libmap.c
libmap.conf
libmap.h
Makefile Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.depend
map_object.c
rtld_lock.c rtld: add LD_NO_DL_ITERATE_PHDR_AFTER_FORK env var 2024-07-30 02:57:33 +03:00
rtld_lock.h
rtld_malloc.c libexec: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
rtld_malloc.h Remove "All Rights Reserved" from FreeBSD Foundation copyrights 2024-07-30 12:16:36 -04:00
rtld_paths.h
rtld_printf.c rtld-elf: Fix signed conversion for %hh 2024-07-14 12:01:43 -06:00
rtld_printf.h
rtld_tls.h
rtld_utrace.h
rtld.1 rtld: add LD_NO_DL_ITERATE_PHDR_AFTER_FORK env var 2024-07-30 02:57:33 +03:00
rtld.c rtld-elf: Pass parsed aux_info to ifunc_init 2024-08-22 20:36:44 +01:00
rtld.h rtld-elf: Pass parsed aux_info to ifunc_init 2024-08-22 20:36:44 +01:00
Symbol.map
xmalloc.c