aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/bn
diff options
context:
space:
mode:
authorAdam Langley <agl@chromium.org>2017-02-09 12:02:08 -0800
committerAndy Polyakov <appro@openssl.org>2017-02-10 20:28:28 +0100
commit3f55ec6792dde6359a915f12aa0c792212bd954f (patch)
tree506273f0476bd075a50a2c2e64e86c5b5ba79ce4 /crypto/bn
parent64846096b18340b9a39ddd29a7a0e23c56f22959 (diff)
downloadopenssl-3f55ec6792dde6359a915f12aa0c792212bd954f.tar.gz
Fix copy-pasteism in CFI directives.
I don't think this actually affects anything since the cfi_restore directives aren't strictly needed anyway. (The old values are still in memory so either will do.) CLA: trivial Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Andy Polyakov <appro@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2582)
Diffstat (limited to 'crypto/bn')
-rwxr-xr-xcrypto/bn/asm/x86_64-mont.pl10
-rwxr-xr-xcrypto/bn/asm/x86_64-mont5.pl10
2 files changed, 10 insertions, 10 deletions
diff --git a/crypto/bn/asm/x86_64-mont.pl b/crypto/bn/asm/x86_64-mont.pl
index cf3daa2bb5..a4da3de7fa 100755
--- a/crypto/bn/asm/x86_64-mont.pl
+++ b/crypto/bn/asm/x86_64-mont.pl
@@ -1381,15 +1381,15 @@ $code.=<<___;
mov -48(%rsi),%r15
.cfi_restore %r15
mov -40(%rsi),%r14
-.cfi_restore %r15
+.cfi_restore %r14
mov -32(%rsi),%r13
-.cfi_restore %r15
+.cfi_restore %r13
mov -24(%rsi),%r12
-.cfi_restore %r15
+.cfi_restore %r12
mov -16(%rsi),%rbp
-.cfi_restore %r15
+.cfi_restore %rbp
mov -8(%rsi),%rbx
-.cfi_restore %r15
+.cfi_restore %rbx
lea (%rsi),%rsp
.cfi_def_cfa_register %rsp
.Lmulx4x_epilogue:
diff --git a/crypto/bn/asm/x86_64-mont5.pl b/crypto/bn/asm/x86_64-mont5.pl
index 1bf994286d..7ed22326bd 100755
--- a/crypto/bn/asm/x86_64-mont5.pl
+++ b/crypto/bn/asm/x86_64-mont5.pl
@@ -446,15 +446,15 @@ $code.=<<___;
mov -48(%rsi),%r15
.cfi_restore %r15
mov -40(%rsi),%r14
-.cfi_restore %r15
+.cfi_restore %r14
mov -32(%rsi),%r13
-.cfi_restore %r15
+.cfi_restore %r13
mov -24(%rsi),%r12
-.cfi_restore %r15
+.cfi_restore %r12
mov -16(%rsi),%rbp
-.cfi_restore %r15
+.cfi_restore %rbp
mov -8(%rsi),%rbx
-.cfi_restore %r15
+.cfi_restore %rbx
lea (%rsi),%rsp
.cfi_def_cfa_register %rsp
.Lmul_epilogue: