mailing list of musl libc
 help / color / mirror / code / Atom feed
1d9c0858bbab6954d32217ad70b13d9f2fb9c05b blob 260 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
 
#include <features.h>

#define START "_start"

#include "crt_arch.h"

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

void _start_c(long *p)
{
	int argc = p[0];
	char **argv = (void *)(p+1);
       __libc_start_main(main, argc, argv);
}
debug log:

solving f27c949 ...
found f27c949 in https://inbox.vuxu.org/musl/CAOUYtQAeJvx2a6Gb8NW-64UGC7E=8N7C+LC9nvv_oBnQ4bAEOg@mail.gmail.com/
found af02af9 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 af02af945be5f059492c530b002b23da1fa1cd9d	crt/crt1.c

applying [1/1] https://inbox.vuxu.org/musl/CAOUYtQAeJvx2a6Gb8NW-64UGC7E=8N7C+LC9nvv_oBnQ4bAEOg@mail.gmail.com/
diff --git a/crt/crt1.c b/crt/crt1.c
index af02af9..f27c949 100644

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

index at:
100644 1d9c0858bbab6954d32217ad70b13d9f2fb9c05b	crt/crt1.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).