1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-03 09:00:21 +00:00
freebsd/lib/csu/amd64
Dmitry Chagin c969310c99 csu: Implement _start using as to satisfy unwinders on x86_64
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.

This requires the crt code be built with unwind tables, for that remove
-fno-asynchronous-unwind-tables to enable unwind tables generation.

PR:			241562, 246322, 246537
Reviewed by:		kib
Differential Revision:	https://reviews.freebsd.org/D40780
2023-06-29 19:34:39 +03:00
..
crt1_c.c csu: Implement _start using as to satisfy unwinders on x86_64 2023-06-29 19:34:39 +03:00
crt1_s.S csu: Implement _start using as to satisfy unwinders on x86_64 2023-06-29 19:34:39 +03:00
crt.h
crti.S
crtn.S
Makefile csu: Implement _start using as to satisfy unwinders on x86_64 2023-06-29 19:34:39 +03:00
Makefile.depend