Reorder PHDRs according to ELF spec
[centaur.git] / include / libelfu / elfops.h
index 58da4cf2f17970c8408ec88e38a35b41f3ae39b9..4131f410967a96e82fb449b03171cbf81205ddc9 100644 (file)
@@ -1,18 +1,14 @@
 #ifndef __LIBELFU_ELFOPS_H_
 #define __LIBELFU_ELFOPS_H_
 
-#include <libelf/libelf.h>
-#include <libelf/gelf.h>
+#include <libelf.h>
+#include <gelf.h>
 
 #include <libelfu/types.h>
 
 
-   char* elfu_eScnName(Elf *e, Elf_Scn *scn);
-Elf_Scn* elfu_eScnByName(Elf *e, char *name);
+int elfu_eCheck(Elf *e);
+void elfu_eReorderPhdrs(Elf *e);
 
-Elf_Scn* elfu_eScnFirstInSegment(Elf *e, GElf_Phdr *phdr);
-Elf_Scn* elfu_eScnLastInSegment(Elf *e, GElf_Phdr *phdr);
-
-void elfu_ePhdrFixupSelfRef(Elf *e);
 
 #endif