diff options
author | Andy Polyakov <appro@openssl.org> | 2017-02-11 22:31:47 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2017-02-13 14:16:01 +0100 |
commit | 2dfb52d3968e838876406d47861488324d5990b4 (patch) | |
tree | c41318d40718a45177dc728a49661d38f9ab14f9 /crypto/md5/asm | |
parent | modes/asm/*-x86_64.pl: add CFI annotations. (diff) | |
download | openssl-2dfb52d3968e838876406d47861488324d5990b4.tar.xz openssl-2dfb52d3968e838876406d47861488324d5990b4.zip |
{md5,rc4}/asm/*-x86_64.pl: add CFI annotations.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/md5/asm')
-rwxr-xr-x | crypto/md5/asm/md5-x86_64.pl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/crypto/md5/asm/md5-x86_64.pl b/crypto/md5/asm/md5-x86_64.pl index 3f656dc0b2..386d8048ec 100755 --- a/crypto/md5/asm/md5-x86_64.pl +++ b/crypto/md5/asm/md5-x86_64.pl @@ -140,11 +140,17 @@ $code .= <<EOF; .globl md5_block_asm_data_order .type md5_block_asm_data_order,\@function,3 md5_block_asm_data_order: +.cfi_startproc push %rbp +.cfi_push %rbp push %rbx +.cfi_push %rbx push %r12 +.cfi_push %r12 push %r14 +.cfi_push %r14 push %r15 +.cfi_push %r15 .Lprologue: # rdi = arg #1 (ctx, MD5_CTX pointer) @@ -261,13 +267,20 @@ $code .= <<EOF; mov %edx, 3*4(%rbp) # ctx->D = D mov (%rsp),%r15 +.cfi_restore %r15 mov 8(%rsp),%r14 +.cfi_restore %r14 mov 16(%rsp),%r12 +.cfi_restore %r12 mov 24(%rsp),%rbx +.cfi_restore %rbx mov 32(%rsp),%rbp +.cfi_restore %rbp add \$40,%rsp +.cfi_adjust_cfa_offset -40 .Lepilogue: ret +.cfi_endproc .size md5_block_asm_data_order,.-md5_block_asm_data_order EOF |