]> git.proxmox.com Git - mirror_qemu.git/commit
tests/tcg/s390x: Use a different PCRel32 notation in branch-relative-long.c
authorIlya Leoshkevich <iii@linux.ibm.com>
Mon, 2 May 2022 16:48:30 +0000 (18:48 +0200)
committerThomas Huth <thuth@redhat.com>
Wed, 4 May 2022 06:47:19 +0000 (08:47 +0200)
commit0c5c4d5b3c1cb594e808dd4120cc56ee28fa31dd
treecc759504a3b8c2b2b0453e581bd06465141b6f7c
parent9992f57978b8badb9d95f0eb601c7379f786f76c
tests/tcg/s390x: Use a different PCRel32 notation in branch-relative-long.c

Binutils >=2.37 and Clang do not accept (. - 0x100000000) PCRel32
constants. While this looks like a bug that needs fixing, use a
different notation (-0x100000000) as a workaround.

Reported-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20220502164830.1622191-1-iii@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/tcg/s390x/branch-relative-long.c