From 1172354664c2492aff842bbd2bf972bb2161abd5 Mon Sep 17 00:00:00 2001 From: Kareem Date: Fri, 24 Mar 2023 15:44:55 -0700 Subject: [PATCH] Fix PowerPC inline assembly on old GNU as. It does not like an empty clobbered register line, so simply omit the line. --- wolfcrypt/src/sp_int.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/wolfcrypt/src/sp_int.c b/wolfcrypt/src/sp_int.c index 6b8a1e7b5..503a8988a 100644 --- a/wolfcrypt/src/sp_int.c +++ b/wolfcrypt/src/sp_int.c @@ -3638,7 +3638,6 @@ static WC_INLINE sp_int_digit sp_div_word(sp_int_digit hi, sp_int_digit lo, "li %[o], 0 \n\t" \ : [l] "+r" (vl), [h] "+r" (vh), [o] "=r" (vo) \ : [a] "r" (va), [b] "r" (vb) \ - : \ ) /* Multiply va by vb and add double size result into: vo | vh | vl */ #define SP_ASM_MUL_ADD(vl, vh, vo, va, vb) \ @@ -3764,7 +3763,6 @@ static WC_INLINE sp_int_digit sp_div_word(sp_int_digit hi, sp_int_digit lo, "cntlzw %[n], %[a] \n\t" \ : [n] "=r" (vn) \ : [a] "r" (va) \ - : \ ) #define SP_INT_ASM_AVAILABLE