From dff8cd77009f992ddcc9df8785b6d82017ce15b5 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Fri, 3 Mar 2006 03:20:58 +0000 Subject: * m32c/exit.S: Preserve r1. --- libgloss/m32c/exit.S | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libgloss/m32c/exit.S') 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) -- cgit v1.2.3