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
x86-64/setcontext: Pop the pointer into %rdx after syscall
[glibc.git]
/
elf
/
order.c
blob
ca617cbc0905c0644c19cb21166230a7718be335
1
#include <unistd.h>
2
3
void
init
(
void
)
__attribute__
((
constructor
));
4
void
5
__attribute__
((
constructor
))
6
init
(
void
)
7
{
8
write
(
1
,
"4"
,
1
);
9
}
10
11
void
fini
(
void
)
__attribute__
((
destructor
));
12
void
13
__attribute__
((
destructor
))
14
fini
(
void
)
15
{
16
write
(
1
,
"5"
,
1
);
17
}
18
19
extern
int
dep1
(
void
);
20
21
int
22
main
(
void
)
23
{
24
return
dep1
() !=
42
;
25
}