diff options
author | jsing <> | 2024-03-28 11:21:12 +0000 |
---|---|---|
committer | jsing <> | 2024-03-28 11:21:12 +0000 |
commit | 2c1a2c16210a1beeb70b549022d6a77378e8a67b (patch) | |
tree | 33e132c356a62abab70ac6234d275e6ad6c547ec /src | |
parent | 3a64c2ed04b6377c18cff9308751eaaa5c5c792b (diff) | |
download | openbsd-2c1a2c16210a1beeb70b549022d6a77378e8a67b.tar.gz openbsd-2c1a2c16210a1beeb70b549022d6a77378e8a67b.tar.bz2 openbsd-2c1a2c16210a1beeb70b549022d6a77378e8a67b.zip |
Remove .init section that calls OPENSSL_cpuid_setup on i386.
OPENSSL_cpuid_setup() is already called from OPENSSL_crypto_init(), hence
we do not need or want automatic initialisation on library load.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/x86cpuid.pl | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/libcrypto/x86cpuid.pl b/src/lib/libcrypto/x86cpuid.pl index d6ebede0f8..4001458393 100644 --- a/src/lib/libcrypto/x86cpuid.pl +++ b/src/lib/libcrypto/x86cpuid.pl | |||
@@ -150,8 +150,4 @@ for (@ARGV) { $sse2=1 if (/-DOPENSSL_IA32_SSE2/); } | |||
150 | &set_label("nocpuid"); | 150 | &set_label("nocpuid"); |
151 | &function_end("OPENSSL_ia32_cpuid"); | 151 | &function_end("OPENSSL_ia32_cpuid"); |
152 | 152 | ||
153 | &external_label("OPENSSL_ia32cap_P"); | ||
154 | |||
155 | &initseg("OPENSSL_cpuid_setup"); | ||
156 | |||
157 | &asm_finish(); | 153 | &asm_finish(); |