• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #define START "_start"
2 #define _dlstart_c _start_c
3 #include "../ldso/dlstart.c"
4 
5 int main();
6 weak void _init();
7 weak void _fini();
8 int __libc_start_main(int (*)(), int, char **,
9 	void (*)(), void(*)(), void(*)());
10 
__dls2(unsigned char * base,size_t * sp)11 hidden void __dls2(unsigned char *base, size_t *sp)
12 {
13 	__libc_start_main(main, *sp, (void *)(sp+1), _init, _fini, 0);
14 }
15