https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=42d3f122a2ef2d70383f83f43971c7a2dc38d7ed

commit 42d3f122a2ef2d70383f83f43971c7a2dc38d7ed
Author:     Radek Bartoň <radek.bar...@microsoft.com>
AuthorDate: Sat Jun 21 22:47:58 2025 +0200
Commit:     Corinna Vinschen <cori...@vinschen.de>
CommitDate: Tue Jun 24 17:55:09 2025 +0200

    Cygwin: fix syntax error in cpu_relax.h for AArch64
    
    Signed-off-by: Radek Bartoň <radek.bar...@microsoft.com>

Diff:
---
 winsup/testsuite/winsup.api/pthread/cpu_relax.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/winsup/testsuite/winsup.api/pthread/cpu_relax.h 
b/winsup/testsuite/winsup.api/pthread/cpu_relax.h
index 71cec0b2b722..c31ef8c050e6 100644
--- a/winsup/testsuite/winsup.api/pthread/cpu_relax.h
+++ b/winsup/testsuite/winsup.api/pthread/cpu_relax.h
@@ -4,8 +4,8 @@
 #if defined(__x86_64__) || defined(__i386__)  // Check for x86 architectures
    #define CPU_RELAX() __asm__ volatile ("pause" :::)
 #elif defined(__aarch64__) || defined(__arm__)  // Check for ARM architectures
-   #define CPU_RELAX() __asm__ volatile ("dmb ishst \
-                                          yield" :::)
+   #define CPU_RELAX() __asm__ volatile ("dmb ishst\n" \
+                                         "yield" :::)
 #else
    #error unimplemented for this target
 #endif

Reply via email to