diff options
author | Andy Polyakov <appro@openssl.org> | 2013-08-03 16:28:50 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2013-08-03 16:30:40 +0200 |
commit | f15c16200bd0acf6d6779acd917f12a1247b959e (patch) | |
tree | 37de82e3f09ef747ba69a31bea74ce653f176369 /crypto/bn | |
parent | 4e09add6f85be6c448a6c31aa09a67db54654ff7 (diff) |
crypto/bn/asm/rsax-x86_64.pl: make it work on Darwin.
(cherry picked from commit fd8ad019e194f54fbc651897c1b3b4cc1898c6c4)
Diffstat (limited to 'crypto/bn')
-rwxr-xr-x | crypto/bn/asm/rsaz-x86_64.pl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/crypto/bn/asm/rsaz-x86_64.pl b/crypto/bn/asm/rsaz-x86_64.pl index ed84463697..f6adb30b7b 100755 --- a/crypto/bn/asm/rsaz-x86_64.pl +++ b/crypto/bn/asm/rsaz-x86_64.pl @@ -729,7 +729,7 @@ ___ { my ($out,$ap,$bp,$mod,$n0) = ("%rdi","%rsi","%rdx","%rcx","%r8"); $code.=<<___; -.global rsaz_512_mul +.globl rsaz_512_mul .type rsaz_512_mul,\@function,5 .align 32 rsaz_512_mul: @@ -747,7 +747,7 @@ rsaz_512_mul: movq $n0, 128(%rsp) movq $bp, %rbp # pass argument - call _rsaz_512_mul + call __rsaz_512_mul movq %xmm0, $out movq %xmm1, %rbp @@ -791,7 +791,7 @@ ___ { my ($out,$ap,$bp,$mod,$n0,$pwr) = ("%rdi","%rsi","%rdx","%rcx","%r8","%r9d"); $code.=<<___; -.global rsaz_512_mul_gather4 +.globl rsaz_512_mul_gather4 .type rsaz_512_mul_gather4,\@function,6 .align 32 rsaz_512_mul_gather4: @@ -999,7 +999,7 @@ ___ { my ($out,$ap,$mod,$n0,$tbl,$pwr) = ("%rdi","%rsi","%rdx","%rcx","%r8","%r9d"); $code.=<<___; -.global rsaz_512_mul_scatter4 +.globl rsaz_512_mul_scatter4 .type rsaz_512_mul_scatter4,\@function,6 .align 32 rsaz_512_mul_scatter4: @@ -1019,7 +1019,7 @@ rsaz_512_mul_scatter4: movq $n0, 128(%rsp) movq $out, %rbp - call _rsaz_512_mul + call __rsaz_512_mul movq %xmm0, $out movq %xmm1, %rbp @@ -1359,16 +1359,16 @@ _rsaz_512_subtract: .size _rsaz_512_subtract,.-_rsaz_512_subtract ___ } -{ # _rsaz_512_mul +{ # __rsaz_512_mul # # input: %rsi - ap, %rbp - bp # ouput: # clobbers: everything my ($ap,$bp) = ("%rsi","%rbp"); $code.=<<___; -.type _rsaz_512_mul,\@abi-omnipotent +.type __rsaz_512_mul,\@abi-omnipotent .align 32 -_rsaz_512_mul: +__rsaz_512_mul: leaq 8(%rsp), %rdi movq ($bp), %rbx @@ -1508,7 +1508,7 @@ _rsaz_512_mul: movq %r15, 56(%rdi) ret -.size _rsaz_512_mul,.-_rsaz_512_mul +.size __rsaz_512_mul,.-__rsaz_512_mul ___ } { |