]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
tests/tcg: Explicitly check for 64-bit z/Architecture
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 19 May 2026 12:03:45 +0000 (14:03 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 27 May 2026 10:27:22 +0000 (12:27 +0200)
We do not support the 32-bit ESA/390 target, only the
64-bit z/Architecture.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20260519171240.97420-5-philmd@linaro.org>

tests/tcg/multiarch/nop_func.h

index f714d210000848bb95f71bd2a6baaeef2338d7ff..26d3a76eb6202a19ce3afe41abe5f24249bc3b8a 100644 (file)
@@ -15,7 +15,7 @@ static const char nop_func[] = {
     0x1e, 0xff, 0x2f, 0xe1,     /* bx lr */
 #elif defined(__riscv)
     0x67, 0x80, 0x00, 0x00,     /* ret */
-#elif defined(__s390__)
+#elif defined(__s390x__)
     0x07, 0xfe,                 /* br %r14 */
 #elif defined(__i386__) || defined(__x86_64__)
     0xc3,                       /* ret */