rcrt1.c\crt - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/crt/rcrt1.c
blob: be0171535bf860ecab1a35d2f42a977c6b09f0f3 (plain) (blame)
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();
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);
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年11月05日 03:04:27 +0000

AltStyle によって変換されたページ (->オリジナル) /