This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/4] xtensa: optimize check_section_ebb_pcrels_fit

On Thu, Apr 9, 2015 at 7:49 AM, Max Filippov <> wrote:

> 2015-04-01  Max Filippov  <>
> 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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]