summaryrefslogtreecommitdiff
path: root/src/format/elf
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-07-18 15:41:02 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-07-18 15:41:02 (GMT)
commit3a9fe39c6a8923f45e7c96d80b0bfe52b8686ff9 (patch)
tree30c3bfa3df145a74d3237513b9eb6dc5559d32be /src/format/elf
parent10105a5f877fd2c6d1e67343956269f1b19a5133 (diff)
Computed the end of routines with no limit.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@98 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/elf')
-rw-r--r--src/format/elf/symbol.c9
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;