1 | #include <dlfcn.h> |
---|---|
2 | |
3 | char mod2_data; |
4 | |
5 | void |
6 | mod2_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. */ |
15 | void *find_object = _dl_find_object; |
16 |