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] Fix xtensa ld segfault when linking linux modules


On Wed, Jul 9, 2014 at 3:13 PM, Max Filippov <jcmvbkbc@gmail.com> wrote:
> is_inconsistent_linkonce_section makes an assumption that section name
> that starts with ".gnu.linkonce.prop." has one more dot in its suffix.
> However gas generates such section name by insertion of "prop." right
> after ".gnu.linkonce." part of the name of the original section. So, for
> section named ".gnu.linkonce.this_module" corresponding property section
> name does not satisfy the assumption. Such section names are common in
> linux modules. This bug was exposed by the patch "a35d5e8 Fix alignment
> for the first section frag on xtensa", that makes gas produce property
> section for each section that has ".align" directive in it.
>
> Use suffix that immediately follows ".gnu.linkonce.prop." when there are
> no more dots following it.

Approved


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