From 2afcc33c90f142bfa2fd348fdf27778e23e32c6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Thu, 16 Jan 2025 14:32:52 +0000 Subject: [PATCH] zipl: Update inline assembly for GCC 15 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Properly escape % (as %%) for extended assembly in stage3.c in start_kernel(). Fixes: https://github.com/ibm-s390-linux/s390-tools/issues/179 Signed-off-by: Dan HorĂ¡k --- zipl/boot/stage3.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zipl/boot/stage3.c b/zipl/boot/stage3.c index 82b7b2ad..76275f65 100644 --- a/zipl/boot/stage3.c +++ b/zipl/boot/stage3.c @@ -48,9 +48,9 @@ static inline void __noreturn start_kernel(void) " diag %[code],%[code],0x308\n" ".no_diag308:\n" " sam31\n" - " sr %r1,%r1\n" - " sr %r2,%r2\n" - " sigp %r1,%r2,%[order]\n" + " sr %%r1,%%r1\n" + " sr %%r2,%%r2\n" + " sigp %%r1,%%r2,%[order]\n" " lpsw 0\n" : [addr] "=&d" (addr), [code] "+&d" (code)