mailing list of musl libc
 help / color / mirror / code / Atom feed
52928b3e6acb0d75d8cc19cee9c17944dfc3a71e blob 336 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 "../ldso/dlstart.c"

int main();
weak void _init();
weak void _fini();

_Noreturn
int __libc_start_main(int (*main)(int,char **,char **), int argc, char **argv);

hidden _Noreturn void __dls2(unsigned char *base, size_t *sp)
{
	__libc_start_main(main, *sp, (void *)(sp+1));
}
debug log:

solving 52928b3e ...
found 52928b3e in https://inbox.vuxu.org/musl/20181121145150.15500-1-megous@megous.com/
found 7bb3322f in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 7bb3322f5237054ed6a944d1c8cfd01fb8b3f525	crt/rcrt1.c

applying [1/1] https://inbox.vuxu.org/musl/20181121145150.15500-1-megous@megous.com/
diff --git a/crt/rcrt1.c b/crt/rcrt1.c
index 7bb3322f..52928b3e 100644

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

index at:
100644 52928b3e6acb0d75d8cc19cee9c17944dfc3a71e	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).