* m32c/exit.S: Preserve r1.

This commit is contained in:
DJ Delorie
2006-03-03 03:20:58 +00:00
parent 7b8b467def
commit dff8cd7700
2 changed files with 6 additions and 0 deletions

View File

@ -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)