mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 05:20:06 +00:00
16 lines
295 B
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;
|