2086edb799
The add/double shortcut in ecp_nistz256-x86_64.pl left one instruction
point that did not unwind, and the "slow" path in AES_cbc_encrypt was
not annotated correctly. For the latter, add
.cfi_{remember,restore}_state support to perlasm.
Next, fill in a bunch of functions that are missing no-op .cfi_startproc
and .cfi_endproc blocks. libunwind cannot unwind those stack frames
otherwise.
Finally, work around a bug in libunwind by not encoding rflags. (rflags
isn't a callee-saved register, so there's not much need to annotate it
anyway.)
These were found as part of ABI testing work in BoringSSL.
Reviewed-by: Richard Levitte <levitte@openssl.org>
GH: #8109
(cherry picked from commit
|
||
---|---|---|
.. | ||
ecp_nistz256-armv4.pl | ||
ecp_nistz256-armv8.pl | ||
ecp_nistz256-avx2.pl | ||
ecp_nistz256-ppc64.pl | ||
ecp_nistz256-sparcv9.pl | ||
ecp_nistz256-x86.pl | ||
ecp_nistz256-x86_64.pl | ||
x25519-ppc64.pl | ||
x25519-x86_64.pl |