summaryrefslogtreecommitdiffstats
path: root/hw/twl92230.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2011-03-16 15:21:31 +0000
committerAndrzej Zaborowski <andrew.zaborowski@intel.com>2011-03-24 03:27:22 +0100
commit24e838b787959eba0bc516d36224df2c6855d02a (patch)
treebd34c3c9167f1443146b85ea652b10a9fe098db6 /hw/twl92230.c
parent4ac8e585c85079f6fd2b2b6da3cb845e3e19459c (diff)
downloadhqemu-24e838b787959eba0bc516d36224df2c6855d02a.zip
hqemu-24e838b787959eba0bc516d36224df2c6855d02a.tar.gz
tcg/arm: Support host code being compiled for Thumb
Although the TCG generated code is always in ARM mode, it is possible that the host code was compiled by gcc in Thumb mode (this is often the default for Linux distributions targeting ARM v7 only). Handle this by using BLX imm when doing a call from ARM into Thumb mode. Since BLX imm is not a conditionalisable instruction, we make tcg_out_call() no longer take a condition code; we were only ever using it with COND_AL anyway. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
Diffstat (limited to 'hw/twl92230.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud