diff options
author | Alexander Graf <agraf@suse.de> | 2009-12-05 12:44:23 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2009-12-05 17:36:00 +0100 |
commit | 2827822ef1b725cb9b28e8ca62c2cf2a937e4f19 (patch) | |
tree | 030872e302bd2a07b2a6c45bdab368453d9a0626 /dyngen-exec.h | |
parent | 24e804ec146fa491c32a39941dc9f259c8df41e6 (diff) | |
download | qemu-2827822ef1b725cb9b28e8ca62c2cf2a937e4f19.tar.gz qemu-2827822ef1b725cb9b28e8ca62c2cf2a937e4f19.tar.bz2 qemu-2827822ef1b725cb9b28e8ca62c2cf2a937e4f19.zip |
S/390 fake TCG implementation
Qemu won't let us run a KVM target without having host TCG support. Well, for
now we don't have any so let's implement a fake target that only stubs out
everything.
I tried to keep the patch as close to Uli's source as possible, so whenever
he feels like it he can easily diff his version against this one.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'dyngen-exec.h')
-rw-r--r-- | dyngen-exec.h | 2 |
1 files changed, 1 insertions, 1 deletions
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. |