opnsense-src/lib/csu/aarch64/Makefile
Dmitry Chagin bae6bb0698 csu: Implement _start using as to satisfy unwinders on aarch64
The right unwinding stop indicator should be CFI-undefined PC.
https://dwarfstd.org/doc/Dwarf3.pdf - page 118:
If a Return Address register is defined in the virtual unwind table,
and its rule is undefined (for example, by DW_CFA_undefined), then
there is no return address and no call address, and the virtual
unwind of stack activations is complete.

Reviewed by:
Differential Revision:	https://reviews.freebsd.org/D40623
2023-07-07 19:56:02 +03:00

10 lines
123 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR:H}/common
CFLAGS+= -I${.CURDIR}
CRT1SRC= crt1_s.S
CRT1OBJ= crt1_c.o
.include <bsd.lib.mk>