summary refs log tree commit diff stats
path: root/util/oslib-posix.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2013-03-05 00:31:17 +0000
committerPeter Maydell <peter.maydell@linaro.org>2013-03-05 00:31:17 +0000
commit81465888c5306cd94abb9847e560796fd13d3c2f (patch)
tree9197af320a6e47221f8acbf0c738bf2c906860ec /util/oslib-posix.c
parent26135ead80fa1fd13e95c162dacfd06f2ba82981 (diff)
downloadfocaccia-qemu-81465888c5306cd94abb9847e560796fd13d3c2f.tar.gz
focaccia-qemu-81465888c5306cd94abb9847e560796fd13d3c2f.zip
target-arm: Factor out handling of SRS instruction
Factor out the handling of the SRS instruction rather than
duplicating it between the Thumb and ARM decoders. This in
passing fixes two bugs in the Thumb decoder's SRS handling
which didn't exist in the ARM decoder:
 * (LP:1079080) storing CPSR rather than SPSR (fixed in the
   ARM decoder in commit c67b6b71 in 2009)
 * failing to free the 'addr' TCG temp in the writeback case

Reported-by: Cesson Vincent <vcesson@stmi.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'util/oslib-posix.c')
0 files changed, 0 insertions, 0 deletions