This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]