summaryrefslogtreecommitdiff
path: root/src/format/elf
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-02-11 08:43:35 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-02-11 08:43:35 (GMT)
commitabd96dbbe27246e9303173e5e2f47b2e4cedbcb7 (patch)
treec0f8bfd8d6514ac63edcb09655f6feebbd424f09 /src/format/elf
parentdfa7e04b4a267f7f30086510781ca3221b7e25f8 (diff)
Marked buffer lines as containing an entry point when needed.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@470 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/elf')
-rw-r--r--src/format/elf/symbols.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/format/elf/symbols.c b/src/format/elf/symbols.c
index 31fbabd..c09c429 100644
--- a/src/format/elf/symbols.c
+++ b/src/format/elf/symbols.c
@@ -244,7 +244,7 @@ static void register_elf_entry_point(GElfFormat *format, virt_t vaddr, phys_t le
g_binary_routine_set_range(routine, &range);
- symbol = g_binary_symbol_new(STP_ROUTINE, "XXX", ~0);
+ symbol = g_binary_symbol_new(STP_ENTRY_POINT, "XXX", ~0);
g_binary_symbol_attach_routine(symbol, routine);
g_binary_format_add_symbol(base, symbol);