mirror of
https://github.com/qemu/qemu.git
synced 2024-11-24 03:13:44 +08:00
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>
This commit is contained in:
parent
9992f57978
commit
0c5c4d5b3c
@ -13,8 +13,8 @@
|
||||
#_name "_end:\n");
|
||||
|
||||
DEFINE_ASM(br_r14, "br %r14");
|
||||
DEFINE_ASM(brasl_r0, "brasl %r0,.-0x100000000");
|
||||
DEFINE_ASM(brcl_0xf, "brcl 0xf,.-0x100000000");
|
||||
DEFINE_ASM(brasl_r0, "brasl %r0,-0x100000000");
|
||||
DEFINE_ASM(brcl_0xf, "brcl 0xf,-0x100000000");
|
||||
|
||||
struct test {
|
||||
const char *code;
|
||||
|
Loading…
Reference in New Issue
Block a user