[PATCH] xtensa: bfd: fix assertion in xlate_offset_with_removed_text
Max Filippov
jcmvbkbc@gmail.com
Thu Mar 15 20:54:00 GMT 2018
On Thu, Mar 15, 2018 at 12:23 PM, augustine.sterling@gmail.com
<augustine.sterling@gmail.com> wrote:
> 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.
Thanks, applied to master.
-- Max
More information about the Binutils
mailing list