forked from len0rd/rockbox
sbtools: fix elf section naming
Change-Id: I4500bf70028af26cc4b8136f111f527e1396d16e
This commit is contained in:
parent
260399ee8c
commit
acaedfdb89
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ static void extract_sb_section(struct sb_section_t *sec, struct cmd_file_t *cmd_
|
|||
switch(inst->inst)
|
||||
{
|
||||
case SB_INST_LOAD:
|
||||
sprintf(secname, ".text%d", text_idx);
|
||||
sprintf(secname, ".text%d", text_idx++);
|
||||
elf_add_load_section(&elf, inst->addr, inst->size, inst->data, secname);
|
||||
break;
|
||||
case SB_INST_FILL:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue