summaryrefslogtreecommitdiffstats
path: root/libgloss/m32c/exit.S
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/m32c/exit.S')
-rw-r--r--libgloss/m32c/exit.S5
1 files changed, 4 insertions, 1 deletions
diff --git a/libgloss/m32c/exit.S b/libgloss/m32c/exit.S
index 3e7af20c7..7279d13a1 100644
--- a/libgloss/m32c/exit.S
+++ b/libgloss/m32c/exit.S
@@ -32,4 +32,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "m32csys.h"
-S(_exit)
+ .global __exit
+__exit:
+ jsr.a __m32c_fini
+ SYSCALL(SYS_exit)