On Thu, Mar 28, 2024 at 05:16:32AM -0600, Joel Sing wrote: > CVSROOT: /cvs > Module name: src > Changes by: [email protected] 2024/03/28 05:16:32 > > Modified files: > lib/libcrypto : x86_64cpuid.pl > > Log message: > Remove .init section that calls OPENSSL_cpuid_setup on amd64. > > OPENSSL_cpuid_setup() is already called from OPENSSL_crypto_init(), hence > we do not need or want automatic initialisation on library load. > > ok tb@ >
This was discovered after investigating a diff by Viktor Szakats who tracked down strange crashes on MinGW when experimenting with CET on this platform to be related to an endbr64 in the .init section.
