The size field in the function descriptor actually refers to the function size not the size of the function descriptor.
Remove it, otherwise all functions created with this macro end up having length 24: Num: Value Size Type Bind Vis Ndx Name 1094: 000000000025bd38 24 FUNC GLOBAL DEFAULT 20 AES_encrypt 2565: 000000000025bd50 24 FUNC GLOBAL DEFAULT 20 AES_decrypt -- diff --git a/crypto/perlasm/ppc-xlate.pl b/crypto/perlasm/ppc-xlate.pl index a3edd98..704983b 100755 --- a/crypto/perlasm/ppc-xlate.pl +++ b/crypto/perlasm/ppc-xlate.pl @@ -37,7 +37,6 @@ my $globl = sub { $ret .= ".align 3\n"; $ret .= "$name:\n"; $ret .= ".quad .$name,.TOC.\@tocbase,0\n"; - $ret .= ".size $name,24\n"; $ret .= ".previous\n"; $name = ".$name"; ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org