summaryrefslogtreecommitdiff
path: root/src/format/elf
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/elf')
-rw-r--r--src/format/elf/helper_arm.c2
-rw-r--r--src/format/elf/symbols.c5
2 files changed, 3 insertions, 4 deletions
diff --git a/src/format/elf/helper_arm.c b/src/format/elf/helper_arm.c
index f966296..cf86cfa 100644
--- a/src/format/elf/helper_arm.c
+++ b/src/format/elf/helper_arm.c
@@ -132,7 +132,7 @@ bool load_elf_arm_relocated_symbols(GElfFormat *format, const elf_shdr *relxxx,
}
if (symbol != NULL)
- _g_binary_format_add_symbol(G_BIN_FORMAT(format), symbol, false);
+ g_binary_format_add_symbol(G_BIN_FORMAT(format), symbol);
}
diff --git a/src/format/elf/symbols.c b/src/format/elf/symbols.c
index 91a4b71..29a8c3c 100644
--- a/src/format/elf/symbols.c
+++ b/src/format/elf/symbols.c
@@ -141,7 +141,6 @@ bool load_elf_symbols(GElfFormat *format)
- g_binary_format_sort_symbols(G_BIN_FORMAT(format));
result &= load_all_elf_basic_entry_points(format);
@@ -207,7 +206,7 @@ static void register_elf_entry_point(GElfFormat *format, virt_t vaddr, phys_t le
symbol = g_binary_symbol_new(STP_ENTRY_POINT);
g_binary_symbol_attach_routine(symbol, routine);
- _g_binary_format_add_symbol(base, symbol, false);
+ g_binary_format_add_symbol(base, symbol);
/* Comptabilisation pour le désassemblage brut */
g_binary_format_register_code_point(base, vaddr, true);
@@ -670,7 +669,7 @@ static bool load_elf_internal_symbols(GElfFormat *format)
}
if (symbol != NULL)
- _g_binary_format_add_symbol(base, symbol, false);
+ g_binary_format_add_symbol(base, symbol);
}