projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01e5a1b
)
fix order of syscall args for microblaze clone syscall
author
Rich Felker
<dalias@aerifal.cx>
Fri, 19 Oct 2012 04:27:03 +0000
(
00:27
-0400)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 19 Oct 2012 04:27:03 +0000
(
00:27
-0400)
with this commit, based on testing with patches to qemu which are not
yet upstream,
src/thread/microblaze/clone.s
patch
|
blob
|
history
diff --git
a/src/thread/microblaze/clone.s
b/src/thread/microblaze/clone.s
index cff80efa16cdbd94ac254752745bbf20a26f7689..030a9c314e717735b1e0982017e48c950805a047 100644
(file)
--- 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