diff options
author | Andy Polyakov <appro@openssl.org> | 2012-07-15 13:24:43 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2012-07-15 13:24:43 +0000 |
commit | ac82e51f573a5a57d6bf4765b230f83018bf6bde (patch) | |
tree | 33acd85bb2baefcc81d14eb3bcc47602df4068a3 /crypto/perlasm | |
parent | 9f27b1eec3175305e62eed87faa80e231f319ca0 (diff) | |
download | openssl-ac82e51f573a5a57d6bf4765b230f83018bf6bde.tar.gz |
x86gas.pl: treat OPENSSL_ia32cap_P accordingly to .hidden status.
Diffstat (limited to 'crypto/perlasm')
-rw-r--r-- | crypto/perlasm/x86gas.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/perlasm/x86gas.pl b/crypto/perlasm/x86gas.pl index 4b8786bf42..5972d06290 100644 --- a/crypto/perlasm/x86gas.pl +++ b/crypto/perlasm/x86gas.pl @@ -181,7 +181,9 @@ sub ::align sub ::picmeup { my($dst,$sym,$base,$reflabel)=@_; - if (($::pic && ($::elf || $::aout)) || $::macosx) + if (defined($base) && $sym eq "OPENSSL_ia32cap_P" && !$::macosx) + { &::lea($dst,&::DWP("$sym-$reflabel",$base)); } + elsif (($::pic && ($::elf || $::aout)) || $::macosx) { if (!defined($base)) { &::call(&::label("PIC_me_up")); &::set_label("PIC_me_up"); |