[Patch ARM] Fix up angel API for Thumb2 in non-M class configurations.

Corinna Vinschen vinschen@redhat.com
Fri Jul 19 09:58:00 GMT 2013


On Jul 18 14:05, Ramana Radhakrishnan wrote:
> Hi,
> 
> One of the problems is that the trapping instruction being used for
> Thumb2 in non-M class configurations is that it's the bkpt
> instruction.
> 
> This really should be using svc 0xAB instead of the bkpt instruction
> which is identical to the fix done in libgloss last year.
> 
> Tested by running GCC tests on arm-eabi configurations on aem
> simulators with some appropriate init code and bare-metal on qemu.
> 
> Ok?
> 
> regards
> Ramana
> 
> 2013-07-18  Ramana Radhakrishnan  <...>
> 
>        * libc/sys/arm/syscalls.c (do_AngelSWI): Delete.
>        * libc/sys/arm/libcfuncs.c (do_AngelSWI): Delete.
>        * libc/sys/arm/swi.h: Copy over from libgloss.

Applied.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat



More information about the Newlib mailing list