[PATCH][Newlib][AArch32] Fix the build for M class semihosting

Tamar Christina Tamar.Christina@arm.com
Fri Feb 8 18:34:00 GMT 2019


Hi All,

The M class cores don't support Semihosting v2 mixed mode, but we were
accidentally using the new immediates for it.  My last patch changed the
immediates which broke the build because doing a full multi-lib build
including M architectures now results in an assembler error instead of
silently doing the wrong thing.

This fixes the issue by changing the defines around such that According
to the specs any M class build uses the normal semihosting instructions
always.

Regtested on arm-none-eabi and no issues, using a build with m class
multilibs too.

Ok for master?

PS, I don't have commit rights so if OK can someone commit for me?

Thanks,
Tamar
-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-AArch32-Fix-the-build-for-M-class-semihosting.patch
Type: text/x-diff
Size: 1431 bytes
Desc: 0001-AArch32-Fix-the-build-for-M-class-semihosting.patch
URL: <http://sourceware.org/pipermail/newlib/attachments/20190208/449a6098/attachment.bin>


More information about the Newlib mailing list