summaryrefslogblamecommitdiff
path: root/crt/rcrt1.c
blob: 7bb3322f5237054ed6a944d1c8cfd01fb8b3f525 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                           
                            

           

                  


                                                        
                                                             


                                                                      
#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 (*)(), int, char **,
	void (*)(), void(*)(), void(*)());

hidden _Noreturn void __dls2(unsigned char *base, size_t *sp)
{
	__libc_start_main(main, *sp, (void *)(sp+1), _init, _fini, 0);
}