x86gas.pl: treat OPENSSL_ia32cap_P accordingly to .hidden status.
This commit is contained in:
parent
9f27b1eec3
commit
ac82e51f57
@ -181,7 +181,9 @@ sub ::align
|
|||||||
sub ::picmeup
|
sub ::picmeup
|
||||||
{ my($dst,$sym,$base,$reflabel)=@_;
|
{ 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))
|
{ if (!defined($base))
|
||||||
{ &::call(&::label("PIC_me_up"));
|
{ &::call(&::label("PIC_me_up"));
|
||||||
&::set_label("PIC_me_up");
|
&::set_label("PIC_me_up");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user