summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/clone.S
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2005-05-07 20:10:07 +0000
committerPaul Mundt <lethal@linux-sh.org>2005-05-07 20:10:07 +0000
commit244b9f3802471ab7fdb962589491e52618bff230 (patch)
treea5f2a48b1f001cd5732f9a8e7af2c719e0d1c375 /libc/sysdeps/linux/mips/clone.S
parent9decb47dff7253eede2b708f14c7f79502638c6f (diff)
Fix trapa value for _syscall6() to conform with new sh syscall ABI.
The old sh system call interface used 0x00 - 0x0f for the trapa value (number of arguments), whereas the new ABI uses the 0x10 - 0x1f range. For some reason we were using an off-by-1 trapa immediate which ended up trashing r1 in the _syscall6() case, so we fix it up..
Diffstat (limited to 'libc/sysdeps/linux/mips/clone.S')
0 files changed, 0 insertions, 0 deletions