mailing list of musl libc
 help / color / mirror / code / Atom feed
7ca518864a4dbb7ee22cf7564b2c5243480856f5 blob 1050 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
 
.syntax unified
.global __setjmp
.global _setjmp
.global setjmp
.type __setjmp,%function
.type _setjmp,%function
.type setjmp,%function
__setjmp:
_setjmp:
setjmp:
#if defined(__thumb2__)  ||  !defined(__thumb__)
	mov ip,r0
	stmia ip!,{v1,v2,v3,v4,v5,v6,sl,fp}
	mov r2,sp
	stmia ip!,{r2,lr}
#else
	stmia r0!,{r4-r7}
	mov r1,r8
	mov r2,r9
	mov r3,r10
	mov r4,r11
	mov r5,sp
	mov r6,lr
	stmia r0!,{r1-r6}
	mov ip,r0
#endif
	movs r0,#0
	adr r1,1f
	ldr r2,1f
	ldr r1,[r1,r2]

#if __ARM_ARCH_PROFILE != 'M' && __ARM_ARCH < 8
	tst r1,#0x260
	beq 3f
	// HWCAP_ARM_FPA
	tst r1,#0x20
	beq 2f
	stc p2, cr4, [ip], #48
#endif
2:	movs r2,#0x40
	tst r1,r2
	beq 2f
	.fpu vfp
	vstmia ip!, {d8-d15}
	.fpu softvfp
	.eabi_attribute 10, 0
	.eabi_attribute 27, 0
#if __ARM_ARCH_PROFILE != 'M' && __ARM_ARCH < 8
	// HWCAP_ARM_IWMMXT
2:	tst r1,#0x200
	beq 3f
	stcl p1, cr10, [ip], #8
	stcl p1, cr11, [ip], #8
	stcl p1, cr12, [ip], #8
	stcl p1, cr13, [ip], #8
	stcl p1, cr14, [ip], #8
	stcl p1, cr15, [ip], #8
#endif
2:
3:	bx lr

.hidden __hwcap
.align 2
1:	.word __hwcap-1b
debug log:

solving 7ca51886 ...
found 7ca51886 in https://inbox.vuxu.org/musl/CALqyXLh0zwXPzvoBLaKx=jQx1eiQ22S2CSjsN47FntJAryst4w@mail.gmail.com/
found 45731d22 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 45731d228e80fb236b98d2f614a1c29854beea3a	src/setjmp/arm/setjmp.S

applying [1/1] https://inbox.vuxu.org/musl/CALqyXLh0zwXPzvoBLaKx=jQx1eiQ22S2CSjsN47FntJAryst4w@mail.gmail.com/
diff --git a/src/setjmp/arm/setjmp.S b/src/setjmp/arm/setjmp.S
index 45731d22..7ca51886 100644

Checking patch src/setjmp/arm/setjmp.S...
Applied patch src/setjmp/arm/setjmp.S cleanly.

index at:
100644 7ca518864a4dbb7ee22cf7564b2c5243480856f5	src/setjmp/arm/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).