* mep/syscalls.S (sysret): Maintain 16-byte stack alignment.

This commit is contained in:
DJ Delorie 2009-07-14 20:15:32 +00:00
parent 8deb411836
commit 5aa96db905
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2009-07-14 DJ Delorie <dj@redhat.com>
* mep/syscalls.S (sysret): Maintain 16-byte stack alignment.
2009-07-08 DJ Delorie <dj@redhat.com>
* m32c/sbrk.c (sbrk): Change to take ptrdiff_t, not int.

View File

@ -51,7 +51,7 @@ S(link)
S(_Sid_config)
sysret:
add3 $sp, $sp, -12
add3 $sp, $sp, -16
sw $0, 0($sp)
sw $1, 4($sp)
ldc $2, $lp
@ -62,5 +62,5 @@ sysret:
lw $0, 0($sp)
lw $2, 8($sp)
stc $2, $lp
add3 $sp, $sp, 12
add3 $sp, $sp, 16
ret