repo.or.cz
/
newlib-cygwin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Cygwin: access: Fix X_OK behaviour for backup operators and admins
[newlib-cygwin.git]
/
newlib
/
libc
/
sys
/
h8300hms
/
crt1.c
blob
bd4ccf2d8b4e28db88f86dea6e89a4d2084957e7
1
void
__main
()
2
{
3
#ifndef __ELF__
4
static int
initialized
;
5
if
(!
initialized
)
6
{
7
typedef
void
(*
pfunc
) ();
8
extern
pfunc __ctors
[];
9
extern
pfunc __ctors_end
[];
10
pfunc
*
p
;
11
12
initialized
=
1
;
13
for
(
p
=
__ctors_end
;
p
>
__ctors
; )
14
(*--
p
) ();
15
16
}
17
#endif
18
}