1#include <dlfcn.h>
2#include <stdio.h>
3
4
5static int
6do_test (void)
7{
8 const char lib[] = "$ORIGIN/tst-relsort1mod1.so";
9 void *h = dlopen (file: lib, RTLD_NOW);
10 if (h == NULL)
11 {
12 puts (s: dlerror ());
13 return 1;
14 }
15 return 0;
16}
17
18#include <support/test-driver.c>
19

source code of glibc/elf/tst-relsort1.c