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 add PIC ...
details: https://anonhg.NetBSD.org/src/rev/776652b5ea39
branches: trunk
changeset: 770546:776652b5ea39
user: chs <chs%NetBSD.org@localhost>
date: Fri Oct 21 15:08:41 2011 +0000
description:
add PIC support.
diffstat:
crypto/external/bsd/openssl/lib/libcrypto/arch/i386/x86cpuid.S | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 7f3b5b1ec5d7 -r 776652b5ea39 crypto/external/bsd/openssl/lib/libcrypto/arch/i386/x86cpuid.S
--- a/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/x86cpuid.S Fri Oct 21 12:58:53 2011 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/x86cpuid.S Fri Oct 21 15:08:41 2011 +0000
@@ -1,3 +1,5 @@
+#include <machine/asm.h>
+
.file "x86cpuid.s"
.text
.globl OPENSSL_ia32_cpuid
@@ -285,7 +287,9 @@
.size OPENSSL_cleanse,.-.L_OPENSSL_cleanse_begin
.comm OPENSSL_ia32cap_P,4,4
.section .init
- call OPENSSL_cpuid_setup
+ PIC_PROLOGUE
+ call PIC_PLT(_C_LABEL(OPENSSL_cpuid_setup))
+ PIC_EPILOGUE
jmp .Linitalign
.align 16
.Linitalign:
Home |
Main Index |
Thread Index |
Old Index