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

H.J. Lu hjl.tools@gmail.com
Fri Aug 20 16:28:00 GMT 2010


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?

Thanks.

-- 
H.J.



More information about the Binutils mailing list