1
0
Fork 0
forked from len0rd/rockbox

sbtools: fix elf section naming

Change-Id: I4500bf70028af26cc4b8136f111f527e1396d16e
This commit is contained in:
Amaury Pouly 2013-08-22 15:05:13 +02:00
parent 260399ee8c
commit acaedfdb89

View file

@ -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: