summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/perlasm/x86gas.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/perlasm/x86gas.pl')
-rw-r--r--src/lib/libcrypto/perlasm/x86gas.pl6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/libcrypto/perlasm/x86gas.pl b/src/lib/libcrypto/perlasm/x86gas.pl
index d4baea514b..84d24edbbd 100644
--- a/src/lib/libcrypto/perlasm/x86gas.pl
+++ b/src/lib/libcrypto/perlasm/x86gas.pl
@@ -157,10 +157,8 @@ sub ::file_end
157 } 157 }
158 } 158 }
159 if (grep {/\b${nmdecor}OPENSSL_ia32cap_P\b/i} @out) { 159 if (grep {/\b${nmdecor}OPENSSL_ia32cap_P\b/i} @out) {
160 my $tmp=".comm\t${nmdecor}OPENSSL_ia32cap_P,8"; 160 push (@out, ".extern\t${nmdecor}OPENSSL_ia32cap_P\n");
161 if ($::macosx) { push (@out,"$tmp,2\n"); } 161 push (@out, ".hidden\t${nmdecor}OPENSSL_ia32cap_P\n");
162 elsif ($::elf) { push (@out,"$tmp,4\n"); }
163 else { push (@out,"$tmp\n"); }
164 } 162 }
165 push(@out,$initseg) if ($initseg); 163 push(@out,$initseg) if ($initseg);
166} 164}