exec-all: Translate TCI return addresses backwards too
commit637dd0bb7c0e8a3275230b771085439f256b403d
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>
Tue, 18 Aug 2015 03:28:18 +0000 (17 20:28 -0700)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Sat, 17 Oct 2015 23:15:48 +0000 (17 18:15 -0500)
tree10372b1f5f03bb982be15a49d7becb5e7d9f9852
parent2ac9fa162e25019eaa548f1fadfee256af88ca0f
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>
(cherry picked from commit a17d448274575efbfcc1c04ec2641a0afeb74e17)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
include/exec/exec-all.h