diff options
author | DJ Delorie <dj@redhat.com> | 2006-03-03 03:20:58 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2006-03-03 03:20:58 +0000 |
commit | dff8cd77009f992ddcc9df8785b6d82017ce15b5 (patch) | |
tree | 4c04c4bd4b5f2a63533f1a2ab4964d777d3b5610 | |
parent | 7b8b467defe138fefee0fd468c89d006ceab2c7f (diff) | |
download | cygnal-dff8cd77009f992ddcc9df8785b6d82017ce15b5.tar.gz cygnal-dff8cd77009f992ddcc9df8785b6d82017ce15b5.tar.bz2 cygnal-dff8cd77009f992ddcc9df8785b6d82017ce15b5.zip |
* m32c/exit.S: Preserve r1.
-rw-r--r-- | libgloss/ChangeLog | 4 | ||||
-rw-r--r-- | libgloss/m32c/exit.S | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index 1391fc6a5..7457e3dbf 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,7 @@ +2006-03-02 DJ Delorie <dj@redhat.com> + + * m32c/exit.S: Preserve r1. + 2006-02-24 Paul Brook <paul@codesourcery.com> * arm/redboot-crt0.S: Use cps in Thumb-2 mode. diff --git a/libgloss/m32c/exit.S b/libgloss/m32c/exit.S index 7279d13a1..e27d73d30 100644 --- a/libgloss/m32c/exit.S +++ b/libgloss/m32c/exit.S @@ -34,5 +34,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .global __exit __exit: + push.w r1 jsr.a __m32c_fini + pop.w r1 SYSCALL(SYS_exit) |