[PATCH 1/8] or1k: Callee-saved registers for permanent data (with attachment)

Stefan Wallentowitz stefan.wallentowitz@tum.de
Sun May 17 15:04:00 GMT 2015

During interrupt handling the PICSR, table pointers and current
interrupt line have been saved in incorrect registers and/or stored on
the stack.

Save the pointer in r16/r18, PICSR in r20 and the current interrupt
line in r22. Those are callee-saved registers, so that the register
values will be preserved.

    * or1k/interruts-asm.S: Change registers to callee-saved

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-or1k-Callee-saved-registers-for-permanent-data.patch
Type: text/x-patch
Size: 3941 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20150517/f2502b58/attachment.bin>

More information about the Newlib mailing list