mailing list of musl libc
 help / color / mirror / code / Atom feed
fbf2439aecdfe1bdd1fd5dcac184dc38d7bef10b blob 944 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
34
35
36
37
38
39
40
41
42
43
44
 
.global __longjmp
.global _longjmp
.global longjmp
.type __longjmp, %function
.type _longjmp,  %function
.type longjmp,   %function
__longjmp:
_longjmp:
longjmp:
        lw s0,    0(a0)
        lw s1,    4(a0)
        lw s2,    8(a0)
        lw s3,    12(a0)
        lw s4,    16(a0)
        lw s5,    20(a0)
        lw s6,    24(a0)
        lw s7,    28(a0)
        lw s8,    32(a0)
        lw s9,    36(a0)
        lw s10,   40(a0)
        lw s11,   44(a0)
        lw sp,    48(a0)
        lw ra,    52(a0)

#ifndef __riscv_soft_float
        fld fs0,  56(a0)
        fld fs1,  64(a0)
        fld fs2,  72(a0)
        fld fs3,  80(a0)
        fld fs3,  88(a0)
        fld fs4,  96(a0)
        fld fs5,  104(a0)
        fld fs6,  112(a0)
        fld fs7,  120(a0)
        fld fs8,  128(a0)
        fld fs9,  136(a0)
        fld fs10, 144(a0)
        fld fs11, 152(a0)
#endif

        mv a0, a1
        bnez a1, 1f
        li a0, 1
1:      ret
debug log:

solving fbf2439 ...
found fbf2439 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/setjmp/riscv32/longjmp.S b/src/setjmp/riscv32/longjmp.S
new file mode 100644
index 0000000..fbf2439

Checking patch src/setjmp/riscv32/longjmp.S...
Applied patch src/setjmp/riscv32/longjmp.S cleanly.

index at:
100644 fbf2439aecdfe1bdd1fd5dcac184dc38d7bef10b	src/setjmp/riscv32/longjmp.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).