[Linux-Xtensa] [PATCH] Fix xtensa ld segfault when linking linux modules
jcmvbkbc at gmail.com
Thu Jul 10 15:24:27 UTC 2014
On Thu, Jul 10, 2014 at 6:43 PM, augustine.sterling at gmail.com
<augustine.sterling at gmail.com> wrote:
> On Wed, Jul 9, 2014 at 3:13 PM, Max Filippov <jcmvbkbc at 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.
Thanks, checked in.
More information about the linux-xtensa