forked from len0rd/rockbox
sbtools: do not rely on the ELF flags and always assume the entry point is valid
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29806 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e75018ad66
commit
8da7237fd9
2 changed files with 4 additions and 5 deletions
|
|
@ -601,7 +601,7 @@ static struct sb_file_t *apply_cmd_file(struct cmd_file_t *cmd_file)
|
|||
else if(cinst->type == CMD_JUMP || cinst->type == CMD_CALL)
|
||||
{
|
||||
if(!elf_get_start_addr(elf, NULL))
|
||||
bug("cannot jump/call '%s' because it has no starting point !", cinst->identifier);
|
||||
bug("cannot jump/call '%s' because it has no starting point !\n", cinst->identifier);
|
||||
sec->nr_insts++;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue