Use __asm__ __volatile__ in rseq_after_asm_goto for c11 compatibility
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 20 Apr 2023 21:34:49 +0000 (17:34 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 20 Apr 2023 21:41:48 +0000 (17:41 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I63cde85aeaf5efd03e613c255f31f1091c649790

include/rseq/compiler.h

index 3f4327e1bab47c91961c4cf12158424bb4c3e7e4..86630dd2c7897514cb8f056c270c63209354f859 100644 (file)
@@ -25,7 +25,7 @@
  * label target.  Emit this for all compilers in case other similar
  * issues are found in the future.
  */
-#define rseq_after_asm_goto()  asm volatile ("" : : : "memory")
+#define rseq_after_asm_goto()  __asm__ __volatile__ ("" : : : "memory")
 
 #if defined(__SIZEOF_LONG__)
 #define RSEQ_BITS_PER_LONG     (__SIZEOF_LONG__ * 8)
This page took 0.025031 seconds and 4 git commands to generate.