summaryrefslogtreecommitdiff
path: root/utils/imxtools
diff options
context:
space:
mode:
Diffstat (limited to 'utils/imxtools')
-rw-r--r--utils/imxtools/sbtools/sbtoelf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/imxtools/sbtools/sbtoelf.c b/utils/imxtools/sbtools/sbtoelf.c
index f86200f..c906eeb 100644
--- a/utils/imxtools/sbtools/sbtoelf.c
+++ b/utils/imxtools/sbtools/sbtoelf.c
@@ -91,6 +91,7 @@ static void extract_elf_section(struct elf_params_t *elf, int count, uint32_t id
if(fd == NULL)
return ;
+ elf_simplify(elf);
elf_write_file(elf, elf_write, elf_printf, fd);
fclose(fd);
}