[PATCH] Replace insns in ARMv6-M setjmp impl with flag-setting variants

Emmanuel Blot eblot.ml@gmail.com
Wed Oct 9 13:35:00 GMT 2019


Hi Christos,

On 9 Oct 2019, at 15:27, Christos Gentsos wrote:

> Oh I see, you're totally right.
>
> I was trying to use Clang to compile newlib, I wasn't aware that its
> assembler didn't fully support the legacy ARM syntax - it was trying 
> to
> parse it as unified syntax code. Using GCC it compiles just fine.

FWIW, there are a few issues to build newlib with clang for ARMv6-M and 
ARMv7-(E)M, but I’ve been building and using it with several clang 
versions (with the help of a couple of patches) with no noticeable 
issues on baremetal targets.

Emmanuel.



More information about the Newlib mailing list