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 Regenerate to...



details:   https://anonhg.NetBSD.org/src/rev/bc8919662b9d
branches:  trunk
changeset: 815791:bc8919662b9d
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Jun 03 15:42:15 2016 +0000

description:
Regenerate to use .ctor.

diffstat:

 crypto/external/bsd/openssl/lib/libcrypto/arch/i386/x86cpuid.S      |  6 ++----
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/x86_64cpuid.S |  5 +++--
 2 files changed, 5 insertions(+), 6 deletions(-)

diffs (28 lines):

diff -r 2b5496943124 -r bc8919662b9d crypto/external/bsd/openssl/lib/libcrypto/arch/i386/x86cpuid.S
--- a/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/x86cpuid.S    Fri Jun 03 15:41:57 2016 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/x86cpuid.S    Fri Jun 03 15:42:15 2016 +0000
@@ -342,7 +342,5 @@
        ret
 .size  OPENSSL_ia32_rdrand,.-.L_OPENSSL_ia32_rdrand_begin
 .comm  OPENSSL_ia32cap_P,8,4
-.section       .init
-       PIC_PROLOGUE
-       call    PIC_PLT(OPENSSL_cpuid_setup)
-       PIC_EPILOGUE
+.section       .ctors
+.long  OPENSSL_cpuid_setup
diff -r 2b5496943124 -r bc8919662b9d crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/x86_64cpuid.S
--- a/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/x86_64cpuid.S       Fri Jun 03 15:41:57 2016 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/x86_64cpuid.S       Fri Jun 03 15:42:15 2016 +0000
@@ -1,8 +1,9 @@
 #include <machine/asm.h>
 
 .globl OPENSSL_cpuid_setup
-.section       .init
-       call    PIC_PLT(OPENSSL_cpuid_setup)
+.section       .ctors
+.align 8
+.quad  OPENSSL_cpuid_setup
 
 .hidden        OPENSSL_ia32cap_P
 .comm  OPENSSL_ia32cap_P,8,4



Home | Main Index | Thread Index | Old Index