HomeFreeBSD

rtld: Clear x29 and lr for thread_start to conform Aarch64 ABI pcs

Description

rtld: Clear x29 and lr for thread_start to conform Aarch64 ABI pcs

Strictly speaking, SYS V Aarch64 ABI does not states that lr should be
cleared, however gdb relies on lr and tryes to unwind stack further.

Reviewed by:
Differential Revision: https://reviews.freebsd.org/D40841

Details

Provenance
dchaginAuthored on Jul 7 2023, 4:55 PM
Differential Revision
D40841: rtld: Clear x29 for thread_start to conform Aarch64 ABI ps
Parents
rGac7759f54574: rtld: Annotate .rtld_start on aarch64
Branches
Unknown
Tags
Unknown