linux-user: ARM: Ignore immediate value for svc in thumb mode
A message that is not in the archive (sent off-list or not yet received): [email protected]
Peter Maydell
Reviewed-byQuoted 7 lines · Alexander Graf
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_bootstrapwhile building go for me.Signed-off-by Alexander Graf <[email protected]>
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 <[email protected]>
-- PMM