This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: Decompress section before applying simple relocations
- From: Alan Modra <amodra at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Wed, 15 Dec 2010 21:24:54 +1030
- Subject: Re: PATCH: Decompress section before applying simple relocations
- References: <20101214215654.GA24404@intel.com>
On Tue, Dec 14, 2010 at 01:56:54PM -0800, H.J. Lu wrote:
> Hi,
>
> Since bfd_get_full_section_contents caches the decompressed section
> content, we have to decompress compressed section before applying
> simple relocations if it doesn't use RELA relocations. OK to install?
Not OK. This fix doesn't belong in simple.c.
--
Alan Modra
Australia Development Lab, IBM