Skip to content

Commit e884a60

Browse files
committed
more unbreaking fixes
1 parent c65e01b commit e884a60

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

BE/StdLib/syscall.x64.asm

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,15 +220,16 @@
220220
ret
221221

222222
.fun x64_syscall_exit SIGNATURE [] = [S32]
223-
.fun x64_syscall_clone SIGNATURE [S32] = [U64 A64 A64 A64 A64]
223+
.fun x64_syscall_clone SIGNATURE [S32] = [U64 A64 U64 A64 A64]
224224
.fun x64_thread_function SIGNATURE [] = [U64]
225225

226226

227-
.fun clone_wrapper NORMAL [S32] = [C64 A64 A64 U64 U64]
227+
.fun clone_wrapper NORMAL [S32] = [C64 A64 U64 U64 U64]
228228
.bbl entry
229+
# TODO: what is the meaning of the args
229230
poparg proc:C64
230231
poparg new_stack:A64
231-
poparg new_tls:A64
232+
poparg new_tls:U64
232233
poparg user_arg:U64
233234
poparg flags:U64
234235
# align stack
@@ -243,7 +244,7 @@
243244
#
244245
pusharg 0:A64
245246
pusharg 0:A64
246-
pusharg 0:A64
247+
pusharg new_tls
247248
pusharg new_stack
248249
pusharg flags
249250
syscall x64_syscall_clone 56:U32

0 commit comments

Comments
 (0)