mailing list of musl libc
 help / color / mirror / code / Atom feed
331a797ee6f396078632e33bff837e9086de7af1 blob 917 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\"	/* vendor name seems like this should be MUSL but lldb doesn't agree.*/ \n"
"1:	.align 4		 \n"
"2:	.long 0	/* linux */ \n"
"	.long 3,0,0 \n"
"3:	.align 4 \n"
);
debug log:

solving 331a797e ...
found 331a797e in https://inbox.vuxu.org/musl/110801d68c6a$dfe3f950$9fabebf0$@codeaurora.org/ ||
	https://inbox.vuxu.org/musl/1a0301d6458e$b4264d90$1c72e8b0$@codeaurora.org/ ||
	https://inbox.vuxu.org/musl/078f01d65edc$80e892f0$82b9b8d0$@codeaurora.org/

applying [1/3] https://inbox.vuxu.org/musl/110801d68c6a$dfe3f950$9fabebf0$@codeaurora.org/
diff --git a/arch/hexagon/crt_arch.h b/arch/hexagon/crt_arch.h
new file mode 100644
index 00000000..331a797e

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

skipping https://inbox.vuxu.org/musl/1a0301d6458e$b4264d90$1c72e8b0$@codeaurora.org/ for 331a797e
skipping https://inbox.vuxu.org/musl/078f01d65edc$80e892f0$82b9b8d0$@codeaurora.org/ for 331a797e
index at:
100644 331a797ee6f396078632e33bff837e9086de7af1	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).