* m32c/exit.S (__exit): preserve both argument registers.

This commit is contained in:
DJ Delorie
2008-01-11 02:21:44 +00:00
parent ceb32a183c
commit 978e84cf60
2 changed files with 6 additions and 2 deletions

View File

@ -34,7 +34,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.global __exit
__exit:
push.w r1
pushm r0,r1
jsr.a __m32c_fini
pop.w r1
popm r0,r1
SYSCALL(SYS_exit)