diff options
author | Andy Polyakov <appro@openssl.org> | 2011-10-15 08:32:16 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2011-10-15 08:32:16 +0000 |
commit | 8fcdb1e60f0dcc09dff5395de95e884d4f8610ce (patch) | |
tree | c5e23a0413a6ead732e47540bb225ff60045e9d0 /crypto/perlasm/x86gas.pl | |
parent | e1db7c4e7a4913e29ed6d4b355a4c7b643138f33 (diff) |
Add android-x86.
Diffstat (limited to 'crypto/perlasm/x86gas.pl')
-rw-r--r-- | crypto/perlasm/x86gas.pl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/crypto/perlasm/x86gas.pl b/crypto/perlasm/x86gas.pl index 3a79106298..f6b8cc9679 100644 --- a/crypto/perlasm/x86gas.pl +++ b/crypto/perlasm/x86gas.pl @@ -209,7 +209,14 @@ sub ::picmeup sub ::initseg { my $f=$nmdecor.shift; - if ($::elf) + if ($::android) + { $initseg.=<<___; +.section .init_array +.align 4 +.long $f +___ + } + elsif ($::elf) { $initseg.=<<___; .section .init call $f |