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/arm Upstream ...



details:   https://anonhg.NetBSD.org/src/rev/ddd68cfcb0d6
branches:  trunk
changeset: 433723:ddd68cfcb0d6
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Sep 29 19:44:57 2018 +0000

description:
Upstream does not support armv4 any more - but it is trivial to add
add regen time. Make the "regen" target here do it.

diffstat:

 crypto/external/bsd/openssl/lib/libcrypto/arch/arm/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r b4cab2cf5bbe -r ddd68cfcb0d6 crypto/external/bsd/openssl/lib/libcrypto/arch/arm/Makefile
--- a/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/Makefile       Sat Sep 29 19:40:58 2018 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/Makefile       Sat Sep 29 19:44:57 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2018/03/04 00:24:21 christos Exp $
+#      $NetBSD: Makefile,v 1.3 2018/09/29 19:44:57 martin Exp $
 
 .include "bsd.own.mk"
 
@@ -9,8 +9,10 @@
        for i in $$(find ${OPENSSLSRC} -name \*arm\*.pl); do \
                case $$i in \
                (*/charmap.pl|*/arm-xlate.pl);; \
-               (*) perl -I${OPENSSLSRC}/crypto/perlasm \
+               (*) printf '#include "arm_asm.h"\n' > $$(basename $$i .pl).S; \
+               perl -I${OPENSSLSRC}/crypto/perlasm \
                -I${OPENSSLSRC}/crypto/bn/asm $$i linux /dev/stdout \
-               > $$(basename $$i .pl).S;; \
+               | sed -E 's/bx[[:space:]]+lr/RET/' \
+               >> $$(basename $$i .pl).S;; \
                esac; \
        done



Home | Main Index | Thread Index | Old Index