rtld: properly handle root directory in load path (bug 30435)
[platform/upstream/glibc.git] / elf / reldep9mod1.c
1 #include <stdlib.h>
2 void
3 foo (void)
4 {
5   exit (0);
6 }
7
8 void
9 __attribute__((destructor))
10 bar (void)
11 {
12   foo ();
13 }
14
15 void
16 __attribute__((constructor))
17 destr (void)
18 {
19   extern void baz (void);
20   baz ();
21 }