The fix for this issue was backported to 11.3, so let's not unduly
engage the workaround.

Signed-off-by: Jan Beulich <[email protected]>

--- a/xen/include/xen/compiler.h
+++ b/xen/include/xen/compiler.h
@@ -146,7 +146,8 @@
     __asm__ ("" : "=r"(__ptr) : "0"(ptr));      \
     (typeof(ptr)) (__ptr + (off)); })
 
-#if CONFIG_GCC_VERSION >= 110000 /* See gcc bug 100680. */
+/* See gcc bug 100680. */
+#if CONFIG_GCC_VERSION >= 110000 && CONFIG_GCC_VERSION < 110300
 # define gcc11_wrap(x) RELOC_HIDE(x, 0)
 #else
 # define gcc11_wrap(x) (x)

Reply via email to