From f179b5c1f21fdcc66f1d4a08b45c32ad4c4ce638 Mon Sep 17 00:00:00 2001 From: Eric Warmenhoven Date: Sat, 23 Dec 2023 04:22:05 -0500 Subject: [PATCH] Fix #16023 - ssl fails on mac x86 with newer clang (#16032) Fix comes from https://github.com/Mbed-TLS/mbedtls/pull/4947 --- deps/mbedtls/mbedtls/bn_mul.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deps/mbedtls/mbedtls/bn_mul.h b/deps/mbedtls/mbedtls/bn_mul.h index 41173e03686..6bfc6f221a0 100644 --- a/deps/mbedtls/mbedtls/bn_mul.h +++ b/deps/mbedtls/mbedtls/bn_mul.h @@ -177,9 +177,9 @@ "addq $8, %%rdi \n\t" #define MULADDC_STOP \ - : "+c" (c), "+D" (d), "+S" (s) \ - : "b" (b) \ - : "rax", "rdx", "r8" \ + : "+c" (c), "+D" (d), "+S" (s), "+m" (*(uint64_t (*)[16]) d) \ + : "b" (b), "m" (*(const uint64_t (*)[16]) s) \ + : "rax", "rdx", "r8" \ ); #endif /* AMD64 */