Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/m32c')
-rw-r--r--libgloss/m32c/exit.S2
1 files changed, 2 insertions, 0 deletions
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)