]> git.proxmox.com Git - mirror_qemu.git/commit
exec-all: Translate TCI return addresses backwards too
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>
Tue, 18 Aug 2015 03:28:18 +0000 (20:28 -0700)
committerStefan Weil <sw@weilnetz.de>
Wed, 26 Aug 2015 18:50:46 +0000 (20:50 +0200)
commita17d448274575efbfcc1c04ec2641a0afeb74e17
tree2f5b151173a6d328bb6a2fedc6d8f454ba85789b
parent47c9dfee808f9455d732aea7c4390ad0972bbd84
exec-all: Translate TCI return addresses backwards too

This subtraction of return addresses applies directly to TCI as well as
host-TCG. This fixes Linux boots for at least Microblaze, CRIS, ARM and
SH4 when using TCI.

[sw: Removed indentation for preprocessor statement]
[sw: The patch also fixes Linux boot for x86_64]

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
include/exec/exec-all.h