Update.
[glibc.git] / elf / constload2.c
blobf109838cb8b760cf980754657e6537572d520d58
1 #include <dlfcn.h>
3 extern int bar (void);
5 void *h;
7 int
8 foo (void)
10 return 42 + bar ();
13 int
14 baz (void)
16 return -21;
19 void
20 __attribute__ ((__constructor__))
21 init (void)
23 h = dlopen ("constload3.so", RTLD_GLOBAL | RTLD_LAZY);