This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH 1/8] or1k: Callee-saved registers for permanent data
- From: Jeff Johnston <jjohnstn at redhat dot com>
- To: Stefan Wallentowitz <stefan dot wallentowitz at tum dot de>
- Cc: newlib at sourceware dot org
- Date: Tue, 26 May 2015 15:34:13 -0400 (EDT)
- Subject: Re: [PATCH 1/8] or1k: Callee-saved registers for permanent data
- Authentication-results: sourceware.org; auth=none
- References: <5558AB69 dot 7060701 at tum dot de>
All 8 patches have been pushed to master.
Regards,
-- Jeff J.
----- Original Message -----
From: "Stefan Wallentowitz" <stefan.wallentowitz@tum.de>
To: newlib@sourceware.org
Sent: Sunday, May 17, 2015 10:53:29 AM
Subject: [PATCH 1/8] or1k: Callee-saved registers for permanent data
Hi all,
this is the first of a set of patches for the or1k libgloss, essentially
some small bug fixes.
Thanks in advance!
Best,
Stefan
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.
libgloss/Changelog:
* or1k/interruts-asm.S: Change registers to callee-saved