acrn-kernel/scripts/mod
Matthew Wilcox 742433b00b [PATCH] PA-RISC: Fix bogus warnings from modpost
parisc and parisc64 seem to name sections a little differently from other
targets.  parisc64 gives spurious warnings like:

WARNING: drivers/net/dummy.o - Section mismatch: reference to .init.text:dummy_setup from .data.rel.ro between '.LC1' (at offset 0x0) and '.LC6'

and parisc gives spurious warnings like:

WARNING: drivers/net/dummy.o - Section mismatch: reference to .init.text:dummy_setup from .rodata.cst4 between '.LC1' (at offset 0x0) and '.LC6'

Given the other comments in modpost.c, it seems that the best solution is
to move rodata down to the 'match at start of name' section and add
.data.rel.ro to the 'match entire name' section.

Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2007-02-08 18:56:41 -05:00
..
.gitignore Add some basic .gitignore files 2005-10-18 08:26:15 -07:00
Makefile
empty.c
file2alias.c [PATCH] EISA bus MODALIAS attributes support 2006-09-27 08:26:19 -07:00
mk_elfconfig.c kbuild: replace abort() with exit(1) 2006-06-24 23:46:54 +02:00
modpost.c [PATCH] PA-RISC: Fix bogus warnings from modpost 2007-02-08 18:56:41 -05:00
modpost.h kbuild: warn when a moduled uses a symbol marked UNUSED 2006-07-01 11:44:23 +02:00
sumversion.c kbuild: do not segfault in modpost if MODVERDIR is not defined 2006-02-19 09:51:22 +01:00