Test for relocation dependency.
authordrepper <drepper>
Sun, 12 Jan 2003 07:55:06 +0000 (07:55 +0000)
committerdrepper <drepper>
Sun, 12 Jan 2003 07:55:06 +0000 (07:55 +0000)
elf/reldep9.c [new file with mode: 0644]

diff --git a/elf/reldep9.c b/elf/reldep9.c
new file mode 100644 (file)
index 0000000..51c7a8b
--- /dev/null
@@ -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 ();
+}