mailing list of musl libc
 help / color / mirror / code / Atom feed
71bf6d3e4edd29a97ab77f5c03800678d2f15b15 blob 527 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
        lw a6, 0(sp)
        mv a7, t0
        scall
__cp_cancel:
        ret
__cp_end:
        j __cancel
debug log:

solving 71bf6d3 ...
found 71bf6d3 in https://inbox.vuxu.org/musl/20180928022404.GQ17995@brightrain.aerifal.cx/

applying [1/1] https://inbox.vuxu.org/musl/20180928022404.GQ17995@brightrain.aerifal.cx/
diff --git a/src/thread/riscv32/syscall_cp.s b/src/thread/riscv32/syscall_cp.s
new file mode 100644
index 0000000..71bf6d3

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

index at:
100644 71bf6d3e4edd29a97ab77f5c03800678d2f15b15	src/thread/riscv32/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).