mailing list of musl libc
 help / color / mirror / code / Atom feed
b54ea2001d1c975c1d4a5ed1e17b62cf0c6a7317 blob 530 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:
        lw t0, 0(a0)
        bnez t0, __cp_cancel

        mv t0, a1
        mv a0, a2
        mv a1, a3
        mv a2, a4
        mv a3, a5
        mv a4, a6
        mv a5, a7
        ld a6, 0(sp)
        mv a7, t0
        ecall
__cp_end:
        ret
__cp_cancel:
        tail __cancel
debug log:

solving b54ea200 ...
found b54ea200 in https://inbox.vuxu.org/musl/20190524144608.5998-1-sir@cmpwn.com/

applying [1/1] https://inbox.vuxu.org/musl/20190524144608.5998-1-sir@cmpwn.com/
diff --git a/src/thread/riscv64/syscall_cp.s b/src/thread/riscv64/syscall_cp.s
new file mode 100644
index 00000000..b54ea200

Checking patch src/thread/riscv64/syscall_cp.s...
Applied patch src/thread/riscv64/syscall_cp.s cleanly.

index at:
100644 b54ea2001d1c975c1d4a5ed1e17b62cf0c6a7317	src/thread/riscv64/syscall_cp.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).