1 extern char _start_bss
;
3 extern int main(int argc
, char **argv
, char **environ
);
17 #if defined(__Z8002__)
18 asm("ld r15,#__stack_top");
21 #if defined(__Z8001__)
22 asm("ldl rr14,#__stack_top");
29 while (p
< & _end_bss
)
36 #if defined(__Z8002__)
37 void __do_global_ctors ()
39 typedef void (*pfunc
)();
40 extern pfunc __ctors
[];
41 extern pfunc __ctors_end
[];
43 for (p
= __ctors_end
; p
> __ctors
; )
51 static int initialized
;