]> git.proxmox.com Git - mirror_qemu.git/commit
tests/tcg/s390x: Fix test-svc with clang
authorIlya Leoshkevich <iii@linux.ibm.com>
Fri, 7 Jul 2023 15:42:21 +0000 (17:42 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 10 Jul 2023 13:34:57 +0000 (15:34 +0200)
commitcb2d7e63d19794c5344d438d943a8680d6756bdc
tree4ab7486ca2d78d6db8415f226bd89a194d3c8680
parent6db77bb2c1aa1e59b4a04ba3c9b4b8bb17609d48
tests/tcg/s390x: Fix test-svc with clang

clang does not support expressions involving symbols in instructions
like lghi yet, so building hello-s390x-asm.S with it fails.

Move the expression to the literal pool and load it from there.

Fixes: be4a4cb42961 ("tests/tcg/s390x: Test single-stepping SVC")
Reported-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20230707154242.457706-1-iii@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/tcg/s390x/gdbstub/test-svc.py
tests/tcg/s390x/hello-s390x-asm.S