--- /dev/null
+#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);
+ }
+}