[PATCH, COMMIT]: Avoid seg-fault when merging entries

H.J. Lu hjl.tools@gmail.com
Sat Aug 21 00:34:00 GMT 2010


On Fri, Aug 20, 2010 at 9:25 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Fri, Aug 20, 2010 at 7:36 AM, Nick Clifton <nickc@redhat.com> wrote:
>> Hi Guys,
>>
>>  I am checking in the patch below as a fix for a bug reported on the
>>  Fedora bugzilla system:
>>
>>    https://bugzilla.redhat.com/show_bug.cgi?id=623687
>>
>> Cheers
>>  Nick
>>
>> bfd/ChangeLog
>> 2010-08-20  Nick Clifton  <nickc@redhat.com>
>>
>>        * merge.c (sec_merge_emit): Do not zero pad sections that do not
>>        have an alignment.
>>
>
> The testcase in
>
> https://bugzilla.redhat.com/show_bug.cgi?id=623687#c2
>
> is a dup of
>
> http://www.sourceware.org/bugzilla/show_bug.cgi?id=11817
>
> Your fix is incorrect. Would you mind backing it out?
>
>

I opened a linker bug:

http://www.sourceware.org/bugzilla/show_bug.cgi?id=11933

I will revert your checkin for now.


-- 
H.J.



More information about the Binutils mailing list