mailing list of musl libc
 help / color / mirror / code / Atom feed
c95db06aee4f19327ba2e0d2d09fe50b934bb97a blob 1094 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
 
__asm__(
".set push\n"
".set noreorder\n"
".text \n"
".global _" START "\n"
".global " START "\n"
".type   _" START ", @function\n"
".type   " START ", @function\n"
"_" START ":\n"
"" START ":\n"
#if __mips_isa_rev < 6
#ifdef __mips_micromips
"	move $fp, $0 \n"
"	.align 2 \n"
"	bal32 1f \n"
"	nop32 \n"
#else
"	bal 1f \n"
"	 move $fp, $0 \n"
#endif
#else
"	move $fp, $0 \n"
"	.align 2 \n"
"	balc 1f \n"
#endif
"	.gpword . \n"
"	.gpword " START "_c \n"
".weak _DYNAMIC \n"
".hidden _DYNAMIC \n"
"	.gpword _DYNAMIC \n"

#ifdef __mips_micromips
"1:	ins $ra, $0, 0, 1 \n"
"	lw $gp, 0($ra) \n"
"	subu $gp, $ra, $gp \n"
"	move $4, $sp \n"
"	lw $5, 8($ra) \n"
"	addu $5, $5, $gp \n"
"	lw $25, 4($ra) \n"
"	addu $25, $25, $gp \n"
"	ori $25, $25, 1 \n"
"	and $sp, $sp, -8 \n"
#else
"1:	lw $gp, 0($ra) \n"
"	subu $gp, $ra, $gp \n"
"	move $4, $sp \n"
"	lw $5, 8($ra) \n"
"	addu $5, $5, $gp \n"
"	lw $25, 4($ra) \n"
"	addu $25, $25, $gp \n"
"	and $sp, $sp, -8 \n"
#endif

#if __mips_isa_rev < 6
"	jalr $25 \n"
"	 subu $sp, $sp, 16 \n"
#else
"	subu $sp, $sp, 16 \n"
"	jalrc $25 \n"
#endif
".set pop \n"
);
debug log:

solving c95db06 ...
found c95db06 in https://inbox.vuxu.org/musl/BD7773622145634B952E5B54ACA8E349DAE2BD60@PUMAIL01.pu.imgtec.org/
found 9fc50d7 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 9fc50d7caccb86783606cee4ed8d291037b7eb5d	arch/mips/crt_arch.h

applying [1/1] https://inbox.vuxu.org/musl/BD7773622145634B952E5B54ACA8E349DAE2BD60@PUMAIL01.pu.imgtec.org/
diff --git a/arch/mips/crt_arch.h b/arch/mips/crt_arch.h
index 9fc50d7..c95db06 100644

Checking patch arch/mips/crt_arch.h...
Applied patch arch/mips/crt_arch.h cleanly.

index at:
100644 c95db06aee4f19327ba2e0d2d09fe50b934bb97a	arch/mips/crt_arch.h

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).