repo.or.cz
/
zpugcc
/
jano.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fixed more binutils issues (newer gcc/libc)
[zpugcc/jano.git]
/
toolchain
/
gcc
/
newlib
/
libc
/
sys
/
sysnecv850
/
crt1.c
blob
dd0be3145de613df8ef289b7d3cd55eff0af05d9
1
void
__main
()
2
{
3
static int
initialized
;
4
if
(!
initialized
)
5
{
6
typedef
void
(*
pfunc
) ();
7
extern
pfunc __ctors
[];
8
extern
pfunc __ctors_end
[];
9
pfunc
*
p
;
10
11
initialized
=
1
;
12
for
(
p
=
__ctors_end
;
p
>
__ctors
; )
13
(*--
p
) ();
14
15
}
16
}