aboutsummaryrefslogtreecommitdiff
path: root/elf/reldepmod3.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/reldepmod3.c')
-rw-r--r--elf/reldepmod3.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/elf/reldepmod3.c b/elf/reldepmod3.c
deleted file mode 100644
index 66a996cd90..0000000000
--- a/elf/reldepmod3.c
+++ /dev/null
@@ -1,20 +0,0 @@
-#include <dlfcn.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-extern int call_me (void);
-
-int
-call_me (void)
-{
- int (*fp) (void);
-
- fp = dlsym (RTLD_DEFAULT, "foo");
- if (fp == NULL)
- {
- printf ("cannot get address of foo in global scope: %s\n", dlerror ());
- exit (1);
- }
-
- return fp () - 42;
-}