X-Git-Url: https://repo.jachan.dev/qemu.git/blobdiff_plain/c227f0995e1722a1abccc28cadf0664266bd8043..68735b6c0cd2fe82ddd8fd3328a261017e67d1aa:/dyngen-exec.h diff --git a/dyngen-exec.h b/dyngen-exec.h index 86e61c3df1..0353f36cdd 100644 --- a/dyngen-exec.h +++ b/dyngen-exec.h @@ -117,7 +117,7 @@ extern int printf(const char *, ...); /* The return address may point to the start of the next instruction. Subtracting one gets us the call instruction itself. */ -#if defined(__s390__) +#if defined(__s390__) && !defined(__s390x__) # define GETPC() ((void*)(((unsigned long)__builtin_return_address(0) & 0x7fffffffUL) - 1)) #elif defined(__arm__) /* Thumb return addresses have the low bit set, so we need to subtract two.