* mep/syscalls.S (sysret): Maintain 16-byte stack alignment.
This commit is contained in:
parent
8deb411836
commit
5aa96db905
|
@ -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>
|
2009-07-08 DJ Delorie <dj@redhat.com>
|
||||||
|
|
||||||
* m32c/sbrk.c (sbrk): Change to take ptrdiff_t, not int.
|
* m32c/sbrk.c (sbrk): Change to take ptrdiff_t, not int.
|
||||||
|
|
|
@ -51,7 +51,7 @@ S(link)
|
||||||
S(_Sid_config)
|
S(_Sid_config)
|
||||||
|
|
||||||
sysret:
|
sysret:
|
||||||
add3 $sp, $sp, -12
|
add3 $sp, $sp, -16
|
||||||
sw $0, 0($sp)
|
sw $0, 0($sp)
|
||||||
sw $1, 4($sp)
|
sw $1, 4($sp)
|
||||||
ldc $2, $lp
|
ldc $2, $lp
|
||||||
|
@ -62,5 +62,5 @@ sysret:
|
||||||
lw $0, 0($sp)
|
lw $0, 0($sp)
|
||||||
lw $2, 8($sp)
|
lw $2, 8($sp)
|
||||||
stc $2, $lp
|
stc $2, $lp
|
||||||
add3 $sp, $sp, 12
|
add3 $sp, $sp, 16
|
||||||
ret
|
ret
|
||||||
|
|
Loading…
Reference in New Issue