In examples/versatileab run:
cargo run --target thumbv4t-none-eabi --bin hello -Zbuild-std
qemu-system-arm will hang without printing anything. I think there's an issue with the branches I added as part of the SMP support where we end up running Arm code in Thumb mode (or vice-versa).
This doesn't seem to happen with the thumbv5te-none-eabi target, probably because that architecture has a richer set of instructions from moving between Arm and Thumb modes. IIRC in Armv4T there is BL and there is BX but there is no BLX, meaning it has to be emulated with a BL to a thunk routine that does a BX (or something like that).
This blocks #211
In examples/versatileab run:
qemu-system-arm will hang without printing anything. I think there's an issue with the branches I added as part of the SMP support where we end up running Arm code in Thumb mode (or vice-versa).
This doesn't seem to happen with the
thumbv5te-none-eabitarget, probably because that architecture has a richer set of instructions from moving between Arm and Thumb modes. IIRC in Armv4T there isBLand there isBXbut there is noBLX, meaning it has to be emulated with aBLto a thunk routine that does aBX(or something like that).This blocks #211