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:42:18 +0200 |
commit | e41a49c62564aaf6bfd3f620f5f1f8310136712e (patch) | |
tree | 7bfd155fcec0d2e8d8a01a0ff544e15b0b70d2f7 /crypto/sha | |
parent | 3a55a42bff966d2a01da6aec92d700d1f2bb684d (diff) |
PPC assembly pack: make new .size directives profiler-friendly.
Suggested by: Anton Blanchard
(cherry picked from commit 76c15d790e07f6cc098be2d7b7f6ddc8acd11ca6)
Diffstat (limited to 'crypto/sha')
-rwxr-xr-x | crypto/sha/asm/sha1-ppc.pl | 2 | ||||
-rwxr-xr-x | crypto/sha/asm/sha512-ppc.pl | 3 |
2 files changed, 3 insertions, 2 deletions
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 ___ } |