ubuntu-buildroot/output/build/glibc-2.36-81-g4f4d7a13edfd.../elf/tst-dl_find_object-mod2.c

16 lines
295 B
C

#include <dlfcn.h>
char mod2_data;
void
mod2_function (void (*f) (void))
{
/* Make sure this is not a tail call and unwind information is
therefore needed. */
f ();
f ();
}
/* Used to verify that _dl_find_object after static dlopen works. */
void *find_object = _dl_find_object;