PATCH: Decompress section before applying simple relocations

H.J. Lu hjl.tools@gmail.com
Wed Dec 15 15:08:00 GMT 2010


On Wed, Dec 15, 2010 at 2:54 AM, Alan Modra <amodra@gmail.com> wrote:
> 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.
>

Any suggestions? We don't want to apply simple relocations
if real relocations will be applied later.

-- 
H.J.



More information about the Binutils mailing list