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/powerpc fix p...



details:   https://anonhg.NetBSD.org/src/rev/7fcc04ddcbdc
branches:  trunk
changeset: 375319:7fcc04ddcbdc
user:      christos <christos%NetBSD.org@localhost>
date:      Sun May 14 21:28:36 2023 +0000

description:
fix powerpc

diffstat:

 crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/bn.inc     |  2 +-
 crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/chacha.inc |  2 +-
 crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/crypto.inc |  3 +++
 3 files changed, 5 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 68f302d4ca7d -r 7fcc04ddcbdc crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/bn.inc
--- a/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/bn.inc     Sun May 14 19:52:39 2023 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/bn.inc     Sun May 14 21:28:36 2023 +0000
@@ -1,4 +1,4 @@
 .PATH.S: ${.PARSEDIR}
-BN_SRCS = ppc.S ppc-mont.S ppc64-mont.S
+BN_SRCS = ppc.S ppc-mont.S ppc64-mont.S bn_ppc.c
 CPPFLAGS += -DOPENSSL_BN_ASM_MONT
 .include "../../bn.inc"
diff -r 68f302d4ca7d -r 7fcc04ddcbdc crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/chacha.inc
--- a/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/chacha.inc Sun May 14 19:52:39 2023 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/chacha.inc Sun May 14 21:28:36 2023 +0000
@@ -1,5 +1,5 @@
 .PATH.S: ${.PARSEDIR}
 
-CHACHA_SRCS = chacha-ppc.S
+CHACHA_SRCS = chacha-ppc.S chacha_ppc.c
 
 .include "../../chacha.inc"
diff -r 68f302d4ca7d -r 7fcc04ddcbdc crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/crypto.inc
--- a/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/crypto.inc Sun May 14 19:52:39 2023 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/crypto.inc Sun May 14 21:28:36 2023 +0000
@@ -1,4 +1,7 @@
 CPUID_SRCS = ppccap.c ppccpuid.S
 CPPFLAGS += -DOPENSSL_CPUID_OBJ
 CPUID = yes
+
+COPTS.threads_pthread.c += -DBROKEN_CLANG_ATOMICS       # no atomic 64 bit ops
+
 .include "../../crypto.inc"



Home | Main Index | Thread Index | Old Index