From 8189732e52080353dbf38933a8c71c6dc6811f2a Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Tue, 27 Nov 2012 22:38:48 +0100 Subject: 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.h | 1 + 1 file changed, 1 insertion(+) (limited to 'utils/imxtools/sbtools/elf.h') diff --git a/utils/imxtools/sbtools/elf.h b/utils/imxtools/sbtools/elf.h index 2166833276..ae4e3b4225 100644 --- a/utils/imxtools/sbtools/elf.h +++ b/utils/imxtools/sbtools/elf.h @@ -82,6 +82,7 @@ void elf_add_fill_section(struct elf_params_t *params, uint32_t fill_addr, uint32_t size, uint32_t pattern); uint32_t elf_translate_virtual_address(struct elf_params_t *params, uint32_t addr); void elf_translate_addresses(struct elf_params_t *params); +void elf_simplify(struct elf_params_t *params); void elf_write_file(struct elf_params_t *params, elf_write_fn_t write, elf_printf_fn_t printf, void *user); bool elf_read_file(struct elf_params_t *params, elf_read_fn_t read, elf_printf_fn_t printf, void *user); -- cgit v1.2.3