This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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  <ramana.radhakrishnan@arm.com>

       * 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.

---
Ramana Radhakrishnan


Attachment: rebase-angel-api.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]