Re: [PATCH] modpost: Ignore ARC specific non-alloc sections
From: Vineet Gupta
Date: Wed Jan 02 2013 - 00:18:16 EST
On Wednesday 02 January 2013 06:19 AM, Rusty Russell wrote:
> Sam Ravnborg <sam@xxxxxxxxxxxx> writes:
>
>> On Thu, Dec 27, 2012 at 04:17:20PM +0530, Vineet Gupta wrote:
>>> ARC relocatable object files contain one/more .gnu.linkonce.arcextmap.*
>>> sections (collated by kernel/vmlinux.lds into .arcextmap in final link).
>>> This section is used by debuggers to display the extension instructions
>>> and need-not be loaded by target (hence !SHF_ALLOC)
>>>
>>> The final kernel binary only needs .arcextmap entry in modpost's ignore
>>> list (section_white_list[]). However when building modules, modpost scans
>>> each object file individually, hence tripping on non-aggregated
>>> .gnu.linkonce.arcextmap.* entries as well.
>> The list exist for this particular purpose.
>> So acked.
> Applied, thanks!
>
> Cheers,
> Rusty.
Thanks Rusty.
I'll drop this patch from my series.
-Vineet
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/