* 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

@ -1,3 +1,7 @@
2008-01-10 DJ Delorie <dj@redhat.com>
* m32c/exit.S (__exit): preserve both argument registers.
2008-01-03 Jeff Johnston <jjohnstn@redhat.com> 2008-01-03 Jeff Johnston <jjohnstn@redhat.com>
* arm/redboot-syscalls.c: Consistently supply _isatty if syscalls * arm/redboot-syscalls.c: Consistently supply _isatty if syscalls

View File

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