sbtoelf: implement sb extraction for sb1
commit8189732e52080353dbf38933a8c71c6dc6811f2a
authorAmaury Pouly <amaury.pouly@gmail.com>
Tue, 27 Nov 2012 21:38:48 +0000 (27 22:38 +0100)
committerAmaury Pouly <amaury.pouly@gmail.com>
Tue, 27 Nov 2012 21:38:48 +0000 (27 22:38 +0100)
tree299a1b0ac3b40db750f45bc5d790cc9c8f80b63a
parent7dc3e939d2cd0a39035587f211587167eb6671de
sbtoelf: implement sb extraction for sb1

Load, fill and call/jump instructions are extracted as elf files
like for sb2. Because of the size limitations of the sb1
instructions, the resulting elf files can easily have hundreds of
sections. The (currently) implemented elf simplification method
will hopefully reduce this to a few sections only

Change-Id: I8fd6ed935ac3128f244bbd71c782e2a0a1c6d44a
utils/imxtools/sbtools/elf.c
utils/imxtools/sbtools/elf.h
utils/imxtools/sbtools/sbtoelf.c