Xintian

Results 2 issues of Xintian

semihosting_write is called in semihosting_puts which expects that semihosting_write returns the length it writes. Length minus the return value of syswrite trap which is normally the true length the syscall...

I build with this toolchain from arm: https://github.com/ARM-software/LLVM-embedded-toolchain-for-Arm clang llvm does not support the inline assembly ".syntax divided"