MINOR: atomic: don't use ; to separate instruction on aarch64.
authorOlivier Houchard <cognet@ci0.org>
Wed, 23 Dec 2020 00:23:41 +0000 (01:23 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 6 Jan 2021 13:44:23 +0000 (14:44 +0100)
commitffc781b1eda8d4a66e899d3a40a37094ad4f674f
tree86085773ac0f9f443db39bb751be40308f765f9c
parente2802e78038a3e3154fcc3f87eab62b6c81d23db
MINOR: atomic: don't use ; to separate instruction on aarch64.

The assembler on MacOS aarch64 interprets ; as the beginning of comments,
so it is not suitable for separating instructions in inline asm. Use \n
instead.

This should be backported to 2.3, 2.2, 2.1, 2.0 and 1.9.

(cherry picked from commit 63ee28185430cbf5bdce21f82484f7de70fe4654)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
include/haproxy/atomic.h