diff options
Diffstat (limited to 'src/format')
-rw-r--r-- | src/format/elf/symbol.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/format/elf/symbol.c b/src/format/elf/symbol.c index 4fd56fe..35943e9 100644 --- a/src/format/elf/symbol.c +++ b/src/format/elf/symbol.c @@ -30,11 +30,6 @@ #include <string.h> -#include "../../arch/processor.h" /* FIXME : remove me ! */ -#include "../../arch/instruction.h" /* FIXME : remove me ! */ -#include "../../arch/instruction-int.h" /* FIXME : remove me ! */ - - #include "elf-int.h" #include "helper_mips.h" #include "section.h" @@ -254,9 +249,7 @@ bool load_elf_symbol_table_32(elf_format *format, const off_t *sym_start, const { memcpy(&symbol, &EXE_FORMAT(format)->content[iter], sizeof(Elf32_Sym)); - if (!(ELF32_ST_TYPE(symbol.st_info) == STT_FUNC - || (ELF32_ST_TYPE(symbol.st_info) == STT_NOTYPE - && ELF32_ST_BIND(symbol.st_info) == STB_GLOBAL))) continue; + if (!(ELF32_ST_TYPE(symbol.st_info) == STT_FUNC)) continue; if (symbol.st_value == 0) continue; |