summary refs log tree commit diff
path: root/elf/tst-dl_find_object-mod2.c
blob: 3dad31c97c906bafe191250c87e26ed2fb8d8aa7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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;