diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/imxtools/sbtools/sbtoelf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/imxtools/sbtools/sbtoelf.c b/utils/imxtools/sbtools/sbtoelf.c index 04bde051ad..578135d7ca 100644 --- a/utils/imxtools/sbtools/sbtoelf.c +++ b/utils/imxtools/sbtools/sbtoelf.c | |||
@@ -134,7 +134,7 @@ static void extract_sb_section(struct sb_section_t *sec, struct cmd_file_t *cmd_ | |||
134 | switch(inst->inst) | 134 | switch(inst->inst) |
135 | { | 135 | { |
136 | case SB_INST_LOAD: | 136 | case SB_INST_LOAD: |
137 | sprintf(secname, ".text%d", text_idx); | 137 | sprintf(secname, ".text%d", text_idx++); |
138 | elf_add_load_section(&elf, inst->addr, inst->size, inst->data, secname); | 138 | elf_add_load_section(&elf, inst->addr, inst->size, inst->data, secname); |
139 | break; | 139 | break; |
140 | case SB_INST_FILL: | 140 | case SB_INST_FILL: |