aboutsummaryrefslogtreecommitdiff
path: root/elf/globalmod1.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/globalmod1.c')
-rw-r--r--elf/globalmod1.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/elf/globalmod1.c b/elf/globalmod1.c
deleted file mode 100644
index 3f80822269..0000000000
--- a/elf/globalmod1.c
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <dlfcn.h>
-#include <stdio.h>
-
-extern int test (void);
-
-int
-test (void)
-{
- (void) dlopen ("reldepmod4.so", RTLD_LAZY | RTLD_GLOBAL);
- if (dlsym (RTLD_DEFAULT, "call_me") != NULL)
- {
- puts ("found \"call_me\"");
- return 0;
- }
- puts ("didn't find \"call_me\"");
- return 1;
-}