mailing list of musl libc
 help / color / mirror / code / Atom feed
0c1facec63c9c737264ab61a00b53ae23494a83d blob 845 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
 
__asm__(
".weak _DYNAMIC \n"
".hidden _DYNAMIC \n"
".text \n"
".global " START " \n"
".type " START ", %function \n"
START ": \n"
"                                       // Find _DYNAMIC\n"
"       jump 1f\n"
".word  _DYNAMIC - .\n"
"1:     r2 = pc\n"
"       r2 = add(r2, #-4)\n"
"       r1 = memw(r2)\n"
"       r1 = add(r2, r1)\n"
"	r30 = #0			// Signals the end of backtrace\n"
"	r0 = r29			// Pointer to argc/argv\n"
"	r29 = and(r29, #-16)		// Align\n"
"	memw(r29+#-8) = r29\n"
"	r29 = add(r29, #-8)\n"
"	call " START "_c \n"
".size " START ", .-" START "\n"
);

__asm__(
".section \".note.ABI-tag\", \"a\" \n"
".align 4 \n"
".long 1f - 0f		/* name length */ \n"
".long 3f - 2f		/* data length */ \n"
".long  1		/* note type */ \n"
"0:	.asciz \"GNU\" \n"
"1:	.align 4		 \n"
"2:	.long 0	/* linux */ \n"
"	.long 3,0,0 \n"
"3:	.align 4 \n"
);
debug log:

solving 0c1facec ...
found 0c1facec in https://inbox.vuxu.org/musl/073501d68d42$4a8c6080$dfa52180$@codeaurora.org/

applying [1/1] https://inbox.vuxu.org/musl/073501d68d42$4a8c6080$dfa52180$@codeaurora.org/
diff --git a/arch/hexagon/crt_arch.h b/arch/hexagon/crt_arch.h
new file mode 100644
index 00000000..0c1facec

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

index at:
100644 0c1facec63c9c737264ab61a00b53ae23494a83d	arch/hexagon/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).