sbtoelf: also simplify elf files for sb2

This is less useful is most cases because sb2 doesn't have the
size restritions but some elf are produced with one section per
file and still yield dozens or hundreds of sections. And this free
anyway so we can do it.

Change-Id: Ia5ca83a8375063ecc7052d1ea73b2b21c00be730
This commit is contained in:
Amaury Pouly 2012-11-28 00:12:17 +01:00
parent 1c14041041
commit f988f5c951

View file

@ -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);
}