repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update
[glibc.git]
/
elf
/
order.c
blob
4544591c5067aa0ef7489fb4dee1e37d644ff3ac
1
#include <unistd.h>
2
3
void
4
__attribute__
((
constructor
))
5
init
(
void
)
6
{
7
write
(
1
,
"4"
,
1
);
8
}
9
10
void
11
__attribute__
((
destructor
))
12
fini
(
void
)
13
{
14
write
(
1
,
"5"
,
1
);
15
}
16
17
extern
int
dep1
(
void
);
18
19
int
20
main
(
void
)
21
{
22
return
dep1
() !=
42
;
23
}