1#include <dlfcn.h>
2
3char mod2_data;
4
5void
6mod2_function (void (*f) (void))
7{
8 /* Make sure this is not a tail call and unwind information is
9 therefore needed. */
10 f ();
11 f ();
12}
13
14/* Used to verify that _dl_find_object after static dlopen works. */
15void *find_object = _dl_find_object;
16

source code of glibc/elf/tst-dl_find_object-mod2.c