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/x86_64 more a...



details:   https://anonhg.NetBSD.org/src/rev/595d87152ffb
branches:  trunk
changeset: 780505:595d87152ffb
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jul 27 18:16:53 2012 +0000

description:
more assembly munging

diffstat:

 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 114444a33afb -r 595d87152ffb crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/Makefile
--- a/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/Makefile    Fri Jul 27 18:10:40 2012 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/Makefile    Fri Jul 27 18:16:53 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 2012/07/26 21:22:47 christos Exp $
+#      $NetBSD: Makefile,v 1.5 2012/07/27 18:16:53 christos Exp $
 
 .include "bsd.own.mk"
 
@@ -8,6 +8,9 @@
 regen:
        for i in $$(find ${OPENSSLSRC} -name \*${MACHINE_ARCH}.pl) \
                ${OPENSSLSRC}/crypto/${MACHINE_ARCH}cpuid.pl ; do \
-                perl $$i elf | sed -e 's/\(OPENSSL[A-Za-z0-9_+]*\)(%rip)/\1@GOTPCREL(%rip)/' \
+                perl $$i elf | sed \
+                   -e 's/\(OPENSSL[A-Za-z0-9_+]*\)(%rip)/\1@GOTPCREL(%rip)/' \
+                   -e 's/.hidden       OPENSSL_cpuid_setup/.globl      OPENSSL_cpuid_setup/' \
+                   -e 's/call  OPENSSL_cpuid_setup/call        OPENSSL_cpuid_setup@GOTPCREL(%rip)/' \
                > $$(basename $$i .pl).S; \
        done



Home | Main Index | Thread Index | Old Index