about summary refs log tree commit diff
path: root/elf/dep2.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dep2.c')
-rw-r--r--elf/dep2.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/elf/dep2.c b/elf/dep2.c
deleted file mode 100644
index 749036a4ec..0000000000
--- a/elf/dep2.c
+++ /dev/null
@@ -1,25 +0,0 @@
-#include <unistd.h>
-
-extern int dep2 (void);
-extern int dep3 (void);
-extern int dep4 (void);
-
-static void
-__attribute__ ((constructor))
-init (void)
-{
-  write (1, "2", 1);
-}
-
-static void
-__attribute__ ((destructor))
-fini (void)
-{
-  write (1, "7", 1);
-}
-
-int
-dep2 (void)
-{
-  return dep3 () - dep4 ();
-}