diff options
author | DJ Delorie <dj@redhat.com> | 2005-12-14 03:38:27 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2005-12-14 03:38:27 +0000 |
commit | fbe7cb7681a4def929729940fb298a3c46ecad32 (patch) | |
tree | 1578332d606f49cc256bed7b167614e8f07f41e7 /libgloss/m32c/exit.S | |
parent | b24dda0b9d0eea3c18de6b2a973b1f33936adcae (diff) | |
download | cygnal-fbe7cb7681a4def929729940fb298a3c46ecad32.tar.gz cygnal-fbe7cb7681a4def929729940fb298a3c46ecad32.tar.bz2 cygnal-fbe7cb7681a4def929729940fb298a3c46ecad32.zip |
* m32c/crt0.S: Add support for preinit, init, and fini arrays, and
.init and .fini processing.
* m32c/crtn.S: Likewise.
* m32c/exit.S: Likewise.
Diffstat (limited to 'libgloss/m32c/exit.S')
-rw-r--r-- | libgloss/m32c/exit.S | 5 |
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) |