]> git.ipfire.org Git - thirdparty/glibc.git/blame - elf/reldep9mod1.c
elf: Rework exception handling in the dynamic loader [BZ #25486]
[thirdparty/glibc.git] / elf / reldep9mod1.c
CommitLineData
aff4519d
UD
1#include <stdlib.h>
2void
3foo (void)
4{
5 exit (0);
6}
7
8void
9__attribute__((destructor))
10bar (void)
11{
aff4519d 12 foo ();
aff4519d
UD
13}
14
15void
16__attribute__((constructor))
17destr (void)
18{
19 extern void baz (void);
20 baz ();
21}