Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386 Fix init...



details:   https://anonhg.NetBSD.org/src/rev/48eb0e4f8153
branches:  trunk
changeset: 780560:48eb0e4f8153
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Jul 29 13:17:53 2012 +0000

description:
Fix init call to OPENSSL_cpuid_setup.
XXX why are using a globally visible routine in a constructor?

diffstat:

 crypto/external/bsd/openssl/lib/libcrypto/arch/i386/x86cpuid.S |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r 0f04034c3b72 -r 48eb0e4f8153 crypto/external/bsd/openssl/lib/libcrypto/arch/i386/x86cpuid.S
--- a/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/x86cpuid.S    Sun Jul 29 10:07:10 2012 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/x86cpuid.S    Sun Jul 29 13:17:53 2012 +0000
@@ -329,4 +329,6 @@
 .size  OPENSSL_ia32_rdrand,.-.L_OPENSSL_ia32_rdrand_begin
 .comm  OPENSSL_ia32cap_P,8,4
 .section       .init
-       call    OPENSSL_cpuid_setup@PLT
+       PIC_PROLOGUE
+       call    PIC_PLT(OPENSSL_cpuid_setup)
+       PIC_EPILOGUE



Home | Main Index | Thread Index | Old Index