summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-01-22 23:10:15 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-01-22 23:10:15 +0100
commit448909e2b07ea9a36fc6ed7e337c6536a34c4ae3 (patch)
tree3fa48bf9a64c0e7a1ea3d07542eb892a954da1a6 /libc
parentf9ea8850242a3afa9693c75e0b047acc6769ad44 (diff)
powerpc: syscall support up to 6 arguments
As reported by Kristof Provost. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/powerpc/syscall.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/powerpc/syscall.S b/libc/sysdeps/linux/powerpc/syscall.S
index 3cb048acf..248df6973 100644
--- a/libc/sysdeps/linux/powerpc/syscall.S
+++ b/libc/sysdeps/linux/powerpc/syscall.S
@@ -29,6 +29,7 @@ syscall:
mr 5,6
mr 6,7
mr 7,8
+ mr 8,9
sc
bnslr;