2 extern int main(); //int argc, char **argv, char **environ);
4 extern char __bss_start
, _end
; // BSS should be the last think before _end
7 char *__env
[1] = { 0 };
8 char **environ
= __env
;
14 for(i
= &__bss_start
; i
< &_end
; i
++){
19 // XXX: get argc and argv
21 exit(main(0,0, __env
));