mailing list of musl libc
 help / color / mirror / code / Atom feed
0ba78f88b79f6f5a372dd4163f35c55411db8a47 blob 428 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
 
#define START "_start"
#define _dlstart_c _start_c
#include "../src/ldso/dlstart.c"

int main();
void _init() __attribute__((weak));
void _fini() __attribute__((weak));
_Noreturn int __libc_start_main(int (*)(), int, char **,
	void (*)(), void(*)(), void(*)());

__attribute__((__visibility__("hidden")))
_Noreturn void __dls2(unsigned char *base, size_t *sp)
{
	__libc_start_main(main, *sp, (void *)(sp+1), _init, _fini, 0);
}
debug log:

solving 0ba78f8 ...
found 0ba78f8 in https://inbox.vuxu.org/musl/CABBv4Tawb1qo4w5SWD6=jXG-5efZFtg00veRi+C_rY97ke7uYg@mail.gmail.com/
found 9be117f in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 9be117fdaa5416381c70f3c751c21473b40c9497	crt/rcrt1.c

applying [1/1] https://inbox.vuxu.org/musl/CABBv4Tawb1qo4w5SWD6=jXG-5efZFtg00veRi+C_rY97ke7uYg@mail.gmail.com/
diff --git a/crt/rcrt1.c b/crt/rcrt1.c
index 9be117f..0ba78f8 100644

Checking patch crt/rcrt1.c...
Applied patch crt/rcrt1.c cleanly.

index at:
100644 0ba78f88b79f6f5a372dd4163f35c55411db8a47	crt/rcrt1.c

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