mailing list of musl libc
 help / color / mirror / code / Atom feed
55fd9d49e2ad7d48703c64ba5030b7e81ffcc42d blob 416 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
.text
.global __clone
.weak clone
.type   __clone,@function
.type   clone,@function
__clone:
clone:
	movl $0x40000038,%eax /* SYS_clone */
	mov %rdi,%r11
	mov %rdx,%rdi
	mov %r8,%rdx
	mov %r9,%r8
	mov 8(%rsp),%r10
	mov %r11,%r9
	and $-16,%rsi
	sub $8,%rsi
	mov %rcx,(%rsi)
	syscall
	test %eax,%eax
	jnz 1f
	xor %ebp,%ebp
	pop %rdi
	call *%r9
	mov %eax,%edi
	movl $0x4000003c,%eax /* SYS_exit */
	syscall
	hlt
1:	ret
debug log:

solving 55fd9d4 ...
found 55fd9d4 in https://inbox.vuxu.org/musl/52BE165C.4040700@barfooze.de/

applying [1/1] https://inbox.vuxu.org/musl/52BE165C.4040700@barfooze.de/
diff --git a/src/thread/x32/clone.s b/src/thread/x32/clone.s
new file mode 100644
index 0000000..55fd9d4

Checking patch src/thread/x32/clone.s...
Applied patch src/thread/x32/clone.s cleanly.

index at:
100644 55fd9d49e2ad7d48703c64ba5030b7e81ffcc42d	src/thread/x32/clone.s

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).