openssl/crypto/modes/asm
David Benjamin 2086edb799 Fix some CFI issues in x86_64 assembly
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 c0e8e5007b)
2019-02-17 23:41:11 +01:00
..
aesni-gcm-x86_64.pl x86_64 assembly pack: "optimize" for Knights Landing, add AVX-512 results. 2017-07-21 14:07:32 +02:00
ghash-alpha.pl Add OpenSSL copyright to .pl files 2016-05-21 08:23:39 -04:00
ghash-armv4.pl Update copyright year 2018-09-11 13:45:17 +01:00
ghash-c64xplus.pl Add OpenSSL copyright to .pl files 2016-05-21 08:23:39 -04:00
ghash-ia64.pl Many spelling fixes/typo's corrected. 2017-11-11 19:03:10 -05:00
ghash-parisc.pl Update copyright year 2018-09-11 13:45:17 +01:00
ghash-s390x.pl s390x assembly pack: extend s390x capability vector. 2017-10-30 14:31:32 +01:00
ghash-sparcv9.pl SPARC assembly pack: enforce V8+ ABI constraints. 2016-07-01 14:25:08 +02:00
ghash-x86.pl Many spelling fixes/typo's corrected. 2017-11-11 19:03:10 -05:00
ghash-x86_64.pl Fix some CFI issues in x86_64 assembly 2019-02-17 23:41:11 +01:00
ghashp8-ppc.pl PPC assembly pack: correct POWER9 results. 2018-06-03 21:20:06 +02:00
ghashv8-armx.pl Update copyright year 2018-05-01 13:34:30 +01:00