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

Nick Clifton nickc@redhat.com
Fri Aug 20 15:36:00 GMT 2010


Hi H.J.

>>     https://bugzilla.redhat.com/show_bug.cgi?id=623687

> How come a section doesn't have an alignment?

I did not actually get that far in investigating the problem.

> Did you mean alignment 1?

Yes.  The code in sec_merge_emit() actually checks the alignment_power 
field of the bfd_section structure, which would be zero for an alignment 
of 1.

> Can we add a testcase?

There is a testcase in the Fedora bug report (see the URL above).  It 
should be possible to covert this into a linker testcase.  I'll look 
into it.

Cheers
   Nick




More information about the Binutils mailing list