[PATCH 1/4] xtensa: optimize check_section_ebb_pcrels_fit
augustine.sterling@gmail.com
augustine.sterling@gmail.com
Thu Apr 9 15:57:00 GMT 2015
On Thu, Apr 9, 2015 at 7:49 AM, Max Filippov <jcmvbkbc@gmail.com> wrote:
> 2015-04-01 Max Filippov <jcmvbkbc@gmail.com>
> bfd/
> * elf32-xtensa.c (reloc_range_list, reloc_range_list_entry,
> reloc_range): new typedef.
> (reloc_range_list_struct, reloc_range_list_entry_struct,
> reloc_range_struct): new structures.
> (reloc_range_compare, build_reloc_ranges,
> reloc_range_list_append, reloc_range_list_remove,
> reloc_range_list_update_range, free_reloc_range_list): new
> functions.
> (compute_text_actions): precompute relocation opcodes before the
> loop. Add relevant_relocs variable, initialize it before the
> loop, pass it to the check_section_ebb_pcrels_fit.
> (check_section_ebb_pcrels_fit): add new parameter:
> relevant_relocs. Update address range in the relevant_relocs if
> it's non-NULL and iterate only over relevant relocations.
Approved. Please apply.
More information about the Binutils
mailing list