This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch] asan error on bfd bfd_simple_get_relocated_section_contents
- From: Alan Modra <amodra at gmail dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: binutils at sourceware dot org
- Date: Mon, 17 Feb 2014 09:36:19 +1030
- Subject: Re: [patch] asan error on bfd bfd_simple_get_relocated_section_contents
- Authentication-results: sourceware.org; auth=none
- References: <20140216182840 dot GA20551 at host2 dot jankratochvil dot net>
On Sun, Feb 16, 2014 at 07:28:40PM +0100, Jan Kratochvil wrote:
> bfd/
> 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> PR binutils/16595
> * simple.c (struct saved_offsets): New.
> (simple_save_output_info): Use it for ptr.
> (simple_restore_output_info): Use it for ptr. Check section_count.
> (bfd_simple_get_relocated_section_contents): Use it for saved_offsets.
OK, thanks!
--
Alan Modra
Australia Development Lab, IBM