mailing list of musl libc
 help / color / mirror / code / Atom feed
3903ed2c239f0ac1ce6aed0d1d544014fcfd2169 blob 575 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
 
.global	__cp_begin
.hidden	__cp_begin
.global	__cp_end
.hidden	__cp_end
.global	__cp_cancel
.hidden	__cp_cancel
.hidden	__cancel
.global	__syscall_cp_asm
.hidden	__syscall_cp_asm
.type	__syscall_cp_asm,@function

__syscall_cp_asm:
__cp_begin:
	ld.w	$a0, $a0, 0
	bnez	$a0, __cp_cancel
	or	$t8, $a1, $zero     # reserve system call number
	or	$a0, $a2, $zero
	or	$a1, $a3, $zero
	or	$a2, $a4, $zero
	or	$a3, $a5, $zero
	or	$a4, $a6, $zero
	or	$a5, $a7, $zero
	or	$a7, $t8, $zero
	syscall	0
__cp_end:
	jirl	$zero, $ra, 0
__cp_cancel:
	la.local $t8, __cancel
	jirl	$zero, $t8, 0
debug log:

solving 3903ed2c ...
found 3903ed2c in https://inbox.vuxu.org/musl/b8869794-0624-6a5f-df15-1840609306a1@loongson.cn/ ||
	https://inbox.vuxu.org/musl/61ffb0ce-85fc-49d9-8599-22c2fa2a6ed5@loongson.cn/ ||
	https://inbox.vuxu.org/musl/6d1b87b7-25da-8707-791d-40c4d44e90d2@loongson.cn/ ||
	https://inbox.vuxu.org/musl/86910db7-be22-b09f-991b-cd8b242325a0@loongson.cn/ ||
	https://inbox.vuxu.org/musl/c6c18c0d-7244-2cb2-a99c-a520a88bc704@loongson.cn/

applying [1/5] https://inbox.vuxu.org/musl/b8869794-0624-6a5f-df15-1840609306a1@loongson.cn/
diff --git a/src/thread/loongarch64/syscall_cp.s b/src/thread/loongarch64/syscall_cp.s
new file mode 100644
index 00000000..3903ed2c

warning: core.fsyncObjectFiles is deprecated; use core.fsync instead
Checking patch src/thread/loongarch64/syscall_cp.s...
Applied patch src/thread/loongarch64/syscall_cp.s cleanly.

skipping https://inbox.vuxu.org/musl/61ffb0ce-85fc-49d9-8599-22c2fa2a6ed5@loongson.cn/ for 3903ed2c
skipping https://inbox.vuxu.org/musl/6d1b87b7-25da-8707-791d-40c4d44e90d2@loongson.cn/ for 3903ed2c
skipping https://inbox.vuxu.org/musl/86910db7-be22-b09f-991b-cd8b242325a0@loongson.cn/ for 3903ed2c
skipping https://inbox.vuxu.org/musl/c6c18c0d-7244-2cb2-a99c-a520a88bc704@loongson.cn/ for 3903ed2c
index at:
100644 3903ed2c239f0ac1ce6aed0d1d544014fcfd2169	src/thread/loongarch64/syscall_cp.s

Code repositories for project(s) associated with this 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).