]> git.ipfire.org Git - thirdparty/glibc.git/commit
aarch64: fix unwinding in longjmp
authorYury Khrustalev <yury.khrustalev@arm.com>
Thu, 8 May 2025 12:53:38 +0000 (13:53 +0100)
committerYury Khrustalev <yury.khrustalev@arm.com>
Tue, 13 May 2025 12:00:57 +0000 (13:00 +0100)
commit691edbdf7727466ba87e27a8eeae1c3bc5824ef5
tree1fb444e243f9747f56d56322e830fe39355a6cfa
parent2d9f479f378f75114496e2cbf073e0d6a49a2d5f
aarch64: fix unwinding in longjmp

Previously, longjmp() on aarch64 was using CFI directives around the
call to __libc_arm_za_disable() after CFA was redefined at the start
of longjmp(). This may result in unwinding issues. Move the call and
surrounding CFI directives to the beginning of longjmp().

Suggested-by: Wilco Dijkstra <wilco.dijkstra@arm.com>
sysdeps/aarch64/__longjmp.S