summary refs log tree commit diff
path: root/elf/reldep9.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/reldep9.c')
-rw-r--r--elf/reldep9.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/elf/reldep9.c b/elf/reldep9.c
new file mode 100644
index 0000000000..51c7a8bb9e
--- /dev/null
+++ b/elf/reldep9.c
@@ -0,0 +1,16 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <dlfcn.h>
+
+int
+main (void)
+{
+  void *handle = dlopen ("reldep9mod3.so", RTLD_LAZY);
+  if (handle == NULL)
+    {
+      printf ("%s\n", dlerror ());
+      exit (1);
+    }
+  dlclose (handle);
+  abort ();
+}