opnsense-src/libexec/rtld-elf/riscv
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
..
reloc.c rtld-elf: Support IFUNCs on riscv 2024-08-22 20:36:44 +01:00
rtld_machdep.h rtld-elf: Support IFUNCs on riscv 2024-08-22 20:36:44 +01:00
rtld_start.S rtld-elf: Add CFI annotation for .rtld_start on RISC-V 2024-08-25 21:51:55 -07:00