Skip to content
Commit 654cfa72 authored by Florian Weimer's avatar Florian Weimer
Browse files

nptl: Move legacy unwinding implementation into libc



It is still used internally.  Since unwinding is now available
unconditionally, avoid indirect calls through function pointers loaded
from the stack by inlining the non-cancellation cleanup code.  This
avoids a regression in security hardening.

The out-of-line  __libc_cleanup_routine implementation is no longer
needed because the inline definition is now static __always_inline.

Reviewed-by: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
parent e0817eb6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment