3 $0 =~ m/(.*[\/\\])[^\
/\\]+$/; $dir=$1;
6 require "uplink-common.pl";
8 local $V=8; # max number of args uplink functions may accept...
9 my $loc0 = "r".(32+$V);
12 .global OPENSSL_Uplink
#
13 .type OPENSSL_Uplink
#,\@function
16 for ($i=1;$i<=$N;$i++) {
21 { .mii
; .save ar
.pfs
,$loc0
22 alloc loc0
=ar
.pfs
,$V,3,2,0
25 addl loc2
=\
@ltoff(OPENSSL_UplinkTable
#),gp };;
27 { .mmi
; ld8 out0
=[loc2
]
29 { .mib
; add loc2
=8*$i,out0
30 br
.call
.sptk
.many b0
=OPENSSL_Uplink
# };;
31 { .mmi
; ld8 r31
=[loc2
];;
36 { .mib
; mov ar
.pfs
=loc0
44 .global OPENSSL_UplinkTable
#
45 OPENSSL_UplinkTable
: data8
$N // amount of following entries
47 for ($i=1;$i<=$N;$i++) { print " data8 \@fptr(lazy$i#)\n"; }
49 .size OPENSSL_UplinkTable
,.-OPENSSL_UplinkTable
#