1 # $Id: exit.S,v 1.2 2004/12/17 19:40:41 hpa Exp $
3 # Implementation of _exit() for com32 based on c32entry.S
14 movl $__dtors_start, %esi
16 cmpl $__dtors_end, %esi
26 movl 4(%esp),%eax # Exit code in %eax = return value
28 movl (__entry_esp),%esp # Return stack pointer to entry value
29 ret # Return to termination address