summaryrefslogtreecommitdiff
path: root/src/copy/sections.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/copy/sections.c')
-rw-r--r--src/copy/sections.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/copy/sections.c b/src/copy/sections.c
deleted file mode 100644
index 046b590..0000000
--- a/src/copy/sections.c
+++ /dev/null
@@ -1,25 +0,0 @@
-#include <stdio.h>
-
-#include <libelf.h>
-#include <gelf.h>
-
-#include <libelfu/libelfu.h>
-
-
-
-void elfu_copySection(Elf *eo, Elf_Scn *scn);
-
-
-
-void elfu_copySections(Elf *eo, Elf *ei)
-{
- Elf_Scn *scn;
-
- scn = elf_getscn(ei, 1);
-
- while (scn) {
- elfu_copySection(eo, scn);
-
- scn = elf_nextscn(ei, scn);
- }
-}