]> git.proxmox.com Git - qemu.git/commit
linux-user: ARM: Ignore immediate value for svc in thumb mode
authorAlexander Graf <agraf@suse.de>
Tue, 29 May 2012 05:30:26 +0000 (05:30 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 14 Aug 2012 19:26:56 +0000 (20:26 +0100)
commit3a1363acf9648bc26989b01b87c7c3c494df2138
treeea76d15a5f33f34cc059e5ee169ddf9fca7aaccc
parent806d102141b99d4f1e55a97d68b7ea8c8ba3129f
linux-user: ARM: Ignore immediate value for svc in thumb mode

When running in thumb mode, Linux doesn't evaluate the immediate value
of the svc instruction, but instead just always assumes the syscall number
to be in r7.

This fixes executing go_bootstrap while building go for me.

Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
linux-user/main.c