mis-handling of arm semihosting in libgloss/arm/crt0.S

Nick Clifton nickc@redhat.com
Thu Jun 16 12:59:00 GMT 2011

Hi Can,

> Actually it is "RealView compilation Tools developer guide", section 8.1.2.
> you can find it as DUI0203J at arm infocenter website
> http://infocenter.arm.com/help/index.jsp

Thanks - that was the reference that I needed.

> Seems your reply is off list, so I put newlib in cc.

Oops, sorry, I forgot that.

Anyway, you are correct, the wrong software interrupt instruction is 
being used when crt0.S is built for ARMv[67]-M architectures.  Please 
could you try out the attached patch which I think should fix things, 
and let me know how you get on ?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm_crt0.patch
Type: text/x-diff
Size: 6354 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20110616/3207138c/attachment.bin>

More information about the Newlib mailing list