mailing list of musl libc
 help / color / mirror / code / Atom feed
17c2663303db3877cc25ef95d77675f16a15f4b3 blob 716 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
 
	.global ___setjmp
	.hidden ___setjmp
	.global __setjmp
	.global _setjmp
	.global setjmp
	.type   __setjmp,@function
	.type   _setjmp,@function
	.type   setjmp,@function
___setjmp:
__setjmp:
_setjmp:
setjmp:
	# 0) store IP int 0, then into the jmpbuf pointed to by r3 (first arg)
	mflr 0
	stw 0, 0(3)
	# 1) store reg1 (SP)
	stw 1, 4(3)
	# 2) store cr
	mfcr 0
	stw 0, 8(3)
	# 3) store r14-31
	stw 14, 12(3)
	stw 15, 16(3)
	stw 16, 20(3)
	stw 17, 24(3)
	stw 18, 28(3)
	stw 19, 32(3)
	stw 20, 36(3)
	stw 21, 40(3)
	stw 22, 44(3)
	stw 23, 48(3)
	stw 24, 52(3)
	stw 25, 56(3)
	stw 26, 60(3)
	stw 27, 64(3)
	stw 28, 68(3)
	stw 29, 72(3)
	stw 30, 76(3)
	stw 31, 80(3)
	# 4) set return value to 0
	li 3, 0
	# 5) return
	blr
debug log:

solving 17c2663 ...
found 17c2663 in https://inbox.vuxu.org/musl/1436356798-95323-1-git-send-email-nbd@openwrt.org/ ||
	https://inbox.vuxu.org/musl/1436526171-32110-1-git-send-email-nbd@openwrt.org/

applying [1/2] https://inbox.vuxu.org/musl/1436356798-95323-1-git-send-email-nbd@openwrt.org/
diff --git a/src/setjmp/powerpc-sf/setjmp.s b/src/setjmp/powerpc-sf/setjmp.s
new file mode 100644
index 0000000..17c2663

Checking patch src/setjmp/powerpc-sf/setjmp.s...
Applied patch src/setjmp/powerpc-sf/setjmp.s cleanly.

skipping https://inbox.vuxu.org/musl/1436526171-32110-1-git-send-email-nbd@openwrt.org/ for 17c2663
index at:
100644 17c2663303db3877cc25ef95d77675f16a15f4b3	src/setjmp/powerpc-sf/setjmp.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).