mailing list of musl libc
 help / color / mirror / code / Atom feed
abd96c625c51eedcb765b87c7cf03c389eb4debb blob 778 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 sigsetjmp
.global __sigsetjmp
.type   sigsetjmp,@function
.type   __sigsetjmp,@function
sigsetjmp:
__sigsetjmp:
        move $t5, $a0
        move $t6, $a1

        # comparing save mask with 0, if equals to 0 then
        # sigsetjmp is equal to setjmp.
        beq     $t6, $zero, 1f
        st.d    $ra, $t5, 168

        # save base of got so that we can use it later
        # once we return from 'longjmp'
        la.global  $t8, setjmp
        jirl    $ra, $t8, 0

        move    $a1, $a0        # Return from 'setjmp' or 'longjmp'
        ld.d    $ra, $t5, 168   # Restore ra of sigsetjmp
        move    $a0, $t5

.hidden __sigsetjmp_tail
        la.global  $t8, __sigsetjmp_tail
        jr         $t8
1:
        la.global  $t8, setjmp
        jr         $t8
debug log:

solving abd96c62 ...
found abd96c62 in https://inbox.vuxu.org/musl/f8e4bbaf-14c1-b79d-de75-d4168da5a5d8@loongson.cn/

applying [1/1] https://inbox.vuxu.org/musl/f8e4bbaf-14c1-b79d-de75-d4168da5a5d8@loongson.cn/
diff --git a/src/signal/loongarch64/sigsetjmp.s b/src/signal/loongarch64/sigsetjmp.s
new file mode 100644
index 00000000..abd96c62

Checking patch src/signal/loongarch64/sigsetjmp.s...
Applied patch src/signal/loongarch64/sigsetjmp.s cleanly.

index at:
100644 abd96c625c51eedcb765b87c7cf03c389eb4debb	src/signal/loongarch64/sigsetjmp.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).