On 29 May 2012 16:30, Alexander Graf <ag...@suse.de> wrote:
> 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 <ag...@suse.de>

Yep, there's no OABI back-compat for thumb so it is always EABI.
(I think the code emitting Thumb SVCs with non-zero immediate
values is probably broken though.)

Reviewed-by: Peter Maydell <peter.mayd...@linaro.org>

-- PMM

Reply via email to