1extern int a;
2
3extern int foo (void);
4
5int
6foo (void)
7{
8 return a;
9}
10

source code of glibc/elf/nodlopenmod2.c