openssl/crypto/bn/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
..
alpha-mont.pl Update copyright year 2018-05-29 13:16:04 +01:00
armv4-gf2m.pl
armv4-mont.pl Update copyright year 2018-05-29 13:16:04 +01:00
armv8-mont.pl AArch64 assembly pack: authenticate return addresses. 2019-02-13 02:39:27 +01:00
bn-586.pl
bn-c64xplus.asm
c64xplus-gf2m.pl Many spelling fixes/typo's corrected. 2017-11-11 19:03:10 -05:00
co-586.pl
ia64-mont.pl Update copyright year 2018-05-29 13:16:04 +01:00
ia64.S Remove unnecessary trailing whitespace 2019-02-05 16:29:17 +01:00
mips-mont.pl Update copyright year 2018-05-29 13:16:04 +01:00
mips.pl Configurations/10-main.conf: remove MIPS bn_div_3_words. 2018-12-05 10:38:22 +00:00
parisc-mont.pl PA-RISC assembly pack: make it work with GNU assembler for HP-UX. 2018-06-25 16:45:48 +02:00
ppc-mont.pl Update copyright year 2018-05-29 13:16:04 +01:00
ppc.pl Update copyright year 2018-03-20 13:08:46 +00:00
ppc64-mont.pl Update copyright year 2018-05-29 13:16:04 +01:00
rsaz-avx2.pl Fix some CFI issues in x86_64 assembly 2019-02-17 23:41:11 +01:00
rsaz-x86_64.pl
s390x-gf2m.pl Many spelling fixes/typo's corrected. 2017-11-11 19:03:10 -05:00
s390x-mont.pl Update copyright year 2018-05-29 13:16:04 +01:00
s390x.S
sparct4-mont.pl Update copyright year 2018-05-29 13:16:04 +01:00
sparcv8.S Many spelling fixes/typo's corrected. 2017-11-11 19:03:10 -05:00
sparcv8plus.S Remove unnecessary trailing whitespace 2019-02-05 16:29:17 +01:00
sparcv9-gf2m.pl
sparcv9-mont.pl bn/asm/sparcv9-mont.pl: iron another glitch in squaring code path. 2018-06-09 14:47:37 +02:00
sparcv9a-mont.pl Many spelling fixes/typo's corrected. 2017-11-11 19:03:10 -05:00
via-mont.pl Update copyright year 2018-05-29 13:16:04 +01:00
vis3-mont.pl Update copyright year 2018-05-29 13:16:04 +01:00
x86-gf2m.pl Many spelling fixes/typo's corrected. 2017-11-11 19:03:10 -05:00
x86-mont.pl Update copyright year 2018-05-29 13:16:04 +01:00
x86_64-gcc.c Update copyright year 2018-11-20 13:27:36 +00:00
x86_64-gf2m.pl Many spelling fixes/typo's corrected. 2017-11-11 19:03:10 -05:00
x86_64-mont.pl Update copyright year 2018-05-29 13:16:04 +01:00
x86_64-mont5.pl Fix some CFI issues in x86_64 assembly 2019-02-17 23:41:11 +01:00