summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-10-19 00:27:03 -0400
committerRich Felker <dalias@aerifal.cx>2012-10-19 00:27:03 -0400
commit6a04d1b8c6181eebfc1d99c6b0e190728d4fabf1 (patch)
tree053886ac056de7fa34f3d67e92a8ffd799648106 /src
parent01e5a1b6cddb1c7f57eb8194ac7e864501d61aeb (diff)
downloadmusl-6a04d1b8c6181eebfc1d99c6b0e190728d4fabf1.tar.gz
musl-6a04d1b8c6181eebfc1d99c6b0e190728d4fabf1.tar.bz2
musl-6a04d1b8c6181eebfc1d99c6b0e190728d4fabf1.tar.xz
musl-6a04d1b8c6181eebfc1d99c6b0e190728d4fabf1.zip
fix order of syscall args for microblaze clone syscall
with this commit, based on testing with patches to qemu which are not yet upstream,
Diffstat (limited to 'src')
-rw-r--r--src/thread/microblaze/clone.s5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/thread/microblaze/clone.s b/src/thread/microblaze/clone.s
index cff80efa..030a9c31 100644
--- a/src/thread/microblaze/clone.s
+++ b/src/thread/microblaze/clone.s
@@ -5,7 +5,7 @@
# r5, r6, r7, r8, r9, r10, stack
# fn, st, fl, ar, pt, tl, ct
-# fl, st, pt, tl, ctx
+# fl, st, __, pt, ct, tl
__clone:
clone:
@@ -15,8 +15,7 @@ clone:
swi r8, r6, 4
ori r5, r7, 0
- ori r7, r9, 0
- ori r8, r10, 0
+ ori r8, r9, 0
lwi r9, r1, 28
ori r12, r0, 120