diff options
author | Andy Polyakov <appro@openssl.org> | 2013-10-15 23:40:12 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2013-10-15 23:40:12 +0200 |
commit | 76c15d790e07f6cc098be2d7b7f6ddc8acd11ca6 (patch) | |
tree | 61730cfa0c5ccbf577fa61d52bfc95ee7099b836 | |
parent | 6699cb84912f0d7c04acbf91c3e3dbdae5929857 (diff) |
PPC assembly pack: make new .size directives profiler-friendly.
Suggested by: Anton Blanchard
-rw-r--r-- | crypto/aes/asm/aes-ppc.pl | 4 | ||||
-rwxr-xr-x | crypto/sha/asm/sha1-ppc.pl | 2 | ||||
-rwxr-xr-x | crypto/sha/asm/sha512-ppc.pl | 3 |
3 files changed, 5 insertions, 4 deletions
diff --git a/crypto/aes/asm/aes-ppc.pl b/crypto/aes/asm/aes-ppc.pl index 89059d49f4..18138c2c84 100644 --- a/crypto/aes/asm/aes-ppc.pl +++ b/crypto/aes/asm/aes-ppc.pl @@ -471,7 +471,6 @@ Lenc_done: .long 0 .byte 0,12,4,1,0x80,18,3,0 .long 0 -.size .AES_encrypt,.-.AES_encrypt .align 5 Lppc_AES_encrypt: @@ -761,6 +760,7 @@ Lenc_compact_done: blr .long 0 .byte 0,12,0x14,0,0,0,0,0 +.size .AES_encrypt,.-.AES_encrypt .globl .AES_decrypt .align 7 @@ -905,7 +905,6 @@ Ldec_done: .long 0 .byte 0,12,4,1,0x80,18,3,0 .long 0 -.size .AES_decrypt,.-.AES_decrypt .align 5 Lppc_AES_decrypt: @@ -1352,6 +1351,7 @@ Ldec_compact_done: blr .long 0 .byte 0,12,0x14,0,0,0,0,0 +.size .AES_decrypt,.-.AES_decrypt .asciz "AES for PPC, CRYPTOGAMS by <appro\@openssl.org>" .align 7 diff --git a/crypto/sha/asm/sha1-ppc.pl b/crypto/sha/asm/sha1-ppc.pl index 2a374807f7..8aa5a37865 100755 --- a/crypto/sha/asm/sha1-ppc.pl +++ b/crypto/sha/asm/sha1-ppc.pl @@ -265,7 +265,6 @@ Ldone: .long 0 .byte 0,12,4,1,0x80,18,3,0 .long 0 -.size .sha1_block_data_order,.-.sha1_block_data_order ___ # This is private block function, which uses tailored calling @@ -317,6 +316,7 @@ $code.=<<___; blr .long 0 .byte 0,12,0x14,0,0,0,0,0 +.size .sha1_block_data_order,.-.sha1_block_data_order ___ $code.=<<___; .asciz "SHA1 block transform for PPC, CRYPTOGAMS by <appro\@fy.chalmers.se>" diff --git a/crypto/sha/asm/sha512-ppc.pl b/crypto/sha/asm/sha512-ppc.pl index d34cd2d033..d934903787 100755 --- a/crypto/sha/asm/sha512-ppc.pl +++ b/crypto/sha/asm/sha512-ppc.pl @@ -344,7 +344,6 @@ Ldone: .long 0 .byte 0,12,4,1,0x80,18,3,0 .long 0 -.size $func,.-$func ___ if ($SZ==4 || $SIZE_T==8) { @@ -417,6 +416,7 @@ $code.=<<___; blr .long 0 .byte 0,12,0x14,0,0,0,0,0 +.size $func,.-$func ___ } else { ######################################################################## @@ -665,6 +665,7 @@ $code.=<<___; blr .long 0 .byte 0,12,0x14,0,0,0,0,0 +.size $func,.-$func ___ } |