[PATCH] xtensa: bfd: fix assertion in xlate_offset_with_removed_text

augustine.sterling@gmail.com augustine.sterling@gmail.com
Thu Mar 15 19:23:00 GMT 2018

On Thu, Mar 15, 2018 at 10:56 AM, Max Filippov <jcmvbkbc@gmail.com> wrote:
> bfd/
> 2018-03-15  Max Filippov  <jcmvbkbc@gmail.com>
>         * elf32-xtensa.c (xlate_map_entry): Change types of address
>         fields from 'unsigned' to 'bfd_vma'.
>         (xlate_offset_with_removed_text): Use struct xlate_map_entry as
>         the key argument to bsearch. Allow offsets past the end of a
>         section, use the last map entry for translation of such offsets.

This is OK.

More information about the Binutils mailing list