diff options
Diffstat (limited to 'elf/tst-relsort1.c')
-rw-r--r-- | elf/tst-relsort1.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/elf/tst-relsort1.c b/elf/tst-relsort1.c new file mode 100644 index 0000000000..972100c0e9 --- /dev/null +++ b/elf/tst-relsort1.c @@ -0,0 +1,19 @@ +#include <dlfcn.h> +#include <stdio.h> + + +static int +do_test () +{ + const char lib[] = "$ORIGIN/tst-relsort1mod1.so"; + void *h = dlopen (lib, RTLD_NOW); + if (h == NULL) + { + puts (dlerror ()); + return 1; + } + return 0; +} + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |