From: Martin Habets <errandir_news@xxxxxxxxxxxxxxxxx> Date: Tue, 10 Oct 2006 16:44:16 +0100 > Subject: [PATCH 1/4] fix sparc32 modpost warnings > > Fix these 2.6.19-rc1 build warnings from modpost: > > WARNING: vmlinux - Section mismatch: reference to .init.text:_sinittext from .text between 'core_kernel_text' (at offset 0x3e060) and '__kernel_text_address' ... > @@ -36,11 +36,11 @@ > > . = ALIGN(4096); > __init_begin = .; > + _sinittext = .; > .init.text : { > - _sinittext = .; > *(.init.text) > - _einittext = .; > } > + _einittext = .; > __init_text_end = .; > .init.data : { *(.init.data) } > . = ALIGN(16); This doesn't make any sense. No other architecture specifies the init sections in this way in their vmlinux.lds.S file. Why is this change correct? Can you try to track down the real problem that causes this and then explain it clearly in the patch that you end up posting? I have trouble applying patches that are of the form "get rid of this warning" with zero explanation for the reasoning behind the fix being proposed :-) - To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html