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
* sysdeps/powerpc/powerpc32/elf/start.S: Ensure .data is non-empty.
[glibc.git]
/
elf
/
dep2.c
blob
749036a4ec1b653bf11a81b1300ae02bbbffe298
1
#include <unistd.h>
2
3
extern
int
dep2
(
void
);
4
extern
int
dep3
(
void
);
5
extern
int
dep4
(
void
);
6
7
static void
8
__attribute__
((
constructor
))
9
init
(
void
)
10
{
11
write
(
1
,
"2"
,
1
);
12
}
13
14
static void
15
__attribute__
((
destructor
))
16
fini
(
void
)
17
{
18
write
(
1
,
"7"
,
1
);
19
}
20
21
int
22
dep2
(
void
)
23
{
24
return
dep3
() -
dep4
();
25
}