[PATCH] aarch64: fix unwinding in longjmp

Wilco Dijkstra Wilco.Dijkstra@arm.com
Mon May 12 10:33:00 GMT 2025


Hi Yuri,

> 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>

OK.

Reviewed-by: Wilco Dijkstra  <Wilco.Dijkstra@arm.com>

Cheers,
Wilco


More information about the Libc-alpha mailing list