Thread (65 messages) 65 messages, 8 authors, 2013-01-17

Re: [PATCH] modpost: Ignore ARC specific non-alloc sections

From: Sam Ravnborg <hidden>
Date: 2012-12-27 20:48:21
Also in: lkml

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.
Thus need for the 2 entires !

Signed-off-by: Vineet Gupta <redacted>
Acked-by: Sam Ravnborg <redacted>


	Sam
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help