From 625beefa21d4487a763e81ebc6159e5e5293828e Mon Sep 17 00:00:00 2001 From: Andrew Jeddeloh Date: Mon, 28 Mar 2022 14:06:38 -0700 Subject: [PATCH] asm_arm.inc: use RESUME_SYNTAX everywhere This makes it so clang wont yell when compiling. --- asm_arm.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/asm_arm.inc b/asm_arm.inc index 688fdc7..e3c8cb1 100644 --- a/asm_arm.inc +++ b/asm_arm.inc @@ -620,7 +620,7 @@ uECC_VLI_API void uECC_vli_mult(uECC_word_t *result, "str %[r3], [%[r0], %[r6]] \n\t" /* result[num_words * 2 - 1] = c0 */ "pop {%[r0]} \n\t" /* pop result off the stack */ - ".syntax divided \n\t" + RESUME_SYNTAX : [r3] "+l" (num_words), [r4] "=&l" (r4), [r5] "=&l" (r5), [r6] "=&l" (r6), [r7] "=&l" (r7) : [r0] "l" (result), [r1] "l" (left), [r2] "l" (right) @@ -805,7 +805,7 @@ uECC_VLI_API void uECC_vli_square(uECC_word_t *result, "str %[r2], [%[r0], %[r5]] \n\t" /* result[num_words * 2 - 1] = c0 */ "pop {%[r0]} \n\t" /* pop result off the stack */ - ".syntax divided \n\t" + RESUME_SYNTAX : [r2] "+l" (num_words), [r3] "=&l" (r3), [r4] "=&l" (r4), [r5] "=&l" (r5), [r6] "=&l" (r6), [r7] "=&l" (r7) : [r0] "l" (result), [r1] "l" (left)