projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f27b1e
)
x86gas.pl: treat OPENSSL_ia32cap_P accordingly to .hidden status.
author
Andy Polyakov
<appro@openssl.org>
Sun, 15 Jul 2012 13:24:43 +0000
(13:24 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Sun, 15 Jul 2012 13:24:43 +0000
(13:24 +0000)
crypto/perlasm/x86gas.pl
patch
|
blob
|
history
diff --git
a/crypto/perlasm/x86gas.pl
b/crypto/perlasm/x86gas.pl
index 4b8786bf42f9049a2925bac4cf313b6881b7c75b..5972d062906d675e2ee9c91bc6582844bbaccec9 100644
(file)
--- 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");