We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c65e01b commit e884a60Copy full SHA for e884a60
1 file changed
BE/StdLib/syscall.x64.asm
@@ -220,15 +220,16 @@
220
ret
221
222
.fun x64_syscall_exit SIGNATURE [] = [S32]
223
-.fun x64_syscall_clone SIGNATURE [S32] = [U64 A64 A64 A64 A64]
+.fun x64_syscall_clone SIGNATURE [S32] = [U64 A64 U64 A64 A64]
224
.fun x64_thread_function SIGNATURE [] = [U64]
225
226
227
-.fun clone_wrapper NORMAL [S32] = [C64 A64 A64 U64 U64]
+.fun clone_wrapper NORMAL [S32] = [C64 A64 U64 U64 U64]
228
.bbl entry
229
+ # TODO: what is the meaning of the args
230
poparg proc:C64
231
poparg new_stack:A64
- poparg new_tls:A64
232
+ poparg new_tls:U64
233
poparg user_arg:U64
234
poparg flags:U64
235
# align stack
@@ -243,7 +244,7 @@
243
244
#
245
pusharg 0:A64
246
- pusharg 0:A64
247
+ pusharg new_tls
248
pusharg new_stack
249
pusharg flags
250
syscall x64_syscall_clone 56:U32
0 commit comments