This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] xtensa: bfd: fix assertion in xlate_offset_with_removed_text
- From: "augustine dot sterling at gmail dot com" <augustine dot sterling at gmail dot com>
- To: Max Filippov <jcmvbkbc at gmail dot com>
- Cc: binutils at sourceware dot org, linux-xtensa at linux-xtensa dot org
- Date: Thu, 15 Mar 2018 12:23:34 -0700
- Subject: Re: [PATCH] xtensa: bfd: fix assertion in xlate_offset_with_removed_text
- References: <20180315175638.5216-1-jcmvbkbc@gmail.com>
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.