From cdb316ea2ea0dc2b0ece40130a8eec9c8096c822 Mon Sep 17 00:00:00 2001 From: dim Date: Sat, 29 Nov 2014 21:23:07 +0000 Subject: [PATCH] Consistently use ARM UAL syntax in stdatomic.c, e.g. streqb and streqh become strbeq and strheq, respectively. Clang's integrated assembler intentionally does not support the old spellings. --- sys/arm/arm/stdatomic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arm/arm/stdatomic.c b/sys/arm/arm/stdatomic.c index 301e0a63306d..4f7395997e69 100644 --- a/sys/arm/arm/stdatomic.c +++ b/sys/arm/arm/stdatomic.c @@ -850,8 +850,8 @@ EMIT_FETCH_AND_OP_N(N, uintN_t, ldr, str, fetch_and_or, "orr") \ EMIT_FETCH_AND_OP_N(N, uintN_t, ldr, str, fetch_and_sub, "sub") \ EMIT_FETCH_AND_OP_N(N, uintN_t, ldr, str, fetch_and_xor, "eor") -EMIT_ALL_OPS_N(1, uint8_t, "ldrb", "strb", "streqb") -EMIT_ALL_OPS_N(2, uint16_t, "ldrh", "strh", "streqh") +EMIT_ALL_OPS_N(1, uint8_t, "ldrb", "strb", "strbeq") +EMIT_ALL_OPS_N(2, uint16_t, "ldrh", "strh", "strheq") EMIT_ALL_OPS_N(4, uint32_t, "ldr", "str", "streq") #ifndef __clang__