diff options
Diffstat (limited to 'plugins/elf/program.c')
-rw-r--r-- | plugins/elf/program.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/plugins/elf/program.c b/plugins/elf/program.c index 7e6f2e4..83fdc6f 100644 --- a/plugins/elf/program.c +++ b/plugins/elf/program.c @@ -25,7 +25,6 @@ #include "elf-int.h" -#include "helper_arm.h" @@ -59,15 +58,11 @@ const char *get_elf_program_type_desc(const GElfFormat *format, uint32_t p_type) MAKE_STRING_FROM_PT(PT_PHDR); MAKE_STRING_FROM_PT(PT_TLS); MAKE_STRING_FROM_PT(PT_NUM); - MAKE_STRING_FROM_PT(PT_LOOS); MAKE_STRING_FROM_PT(PT_GNU_EH_FRAME); MAKE_STRING_FROM_PT(PT_GNU_STACK); MAKE_STRING_FROM_PT(PT_GNU_RELRO); MAKE_STRING_FROM_PT(PT_LOSUNW); MAKE_STRING_FROM_PT(PT_SUNWSTACK); - MAKE_STRING_FROM_PT(PT_HIOS); - MAKE_STRING_FROM_PT(PT_LOPROC); - MAKE_STRING_FROM_PT(PT_HIPROC); default: result = NULL; @@ -76,16 +71,7 @@ const char *get_elf_program_type_desc(const GElfFormat *format, uint32_t p_type) } if (result == NULL) - switch (ELF_HDR(format, format->header, e_machine)) - { - case EM_ARM: - result = get_elf_program_arm_type_desc(p_type); - break; - - default: - break; - - } + result = format->ops.get_type_desc(p_type); if (result == NULL) switch(p_type) |