mailing list of musl libc
 help / color / mirror / code / Atom feed
8e83626fdd0ab167c786b382c16a73ff8707391d blob 547 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
29
30
31
32
33
 
.set noreorder
.global __clone
.type   __clone,@function
__clone:
	# Save function pointer and argument pointer on new thread stack
	and $5, $5, -8
	subu $5, $5, 32
	sw $4, 0($5)
	sw $7, 4($5)
	# Shuffle (fn,sp,fl,arg,ptid,tls,ctid) to (fl,sp,ptid,tls,ctid)
	move $4, $6
	lw $6, 16($sp)
	lw $7, 20($sp)
	lw $9, 24($sp)
	subu $sp, $sp, 16
	sw $9, 16($sp)
	li $2, 4120
	syscall
	beq $7, $0, 1f
	nop
	addu $sp, $sp, 16
	subu $2, $0, $2
	jr $ra
	nop
1:	beq $2, $0, 1f
	nop
	addu $sp, $sp, 16
	jr $ra
	nop
1:	lw $25, 0($sp)
	lw $4, 4($sp)
	jr $25
	nop
debug log:

solving 8e83626 ...
found 8e83626 in https://inbox.vuxu.org/musl/BD7773622145634B952E5B54ACA8E349DAE2BD60@PUMAIL01.pu.imgtec.org/
found 37dddf5 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 37dddf57ba9575c9e849b03ad195b0caea1ddf4a	src/thread/mips/clone.s

applying [1/1] https://inbox.vuxu.org/musl/BD7773622145634B952E5B54ACA8E349DAE2BD60@PUMAIL01.pu.imgtec.org/
diff --git a/src/thread/mips/clone.s b/src/thread/mips/clone.s
index 37dddf5..8e83626 100644

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

index at:
100644 8e83626fdd0ab167c786b382c16a73ff8707391d	src/thread/mips/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).