aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod/modpost.c
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2006-12-13 03:33:57 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-13 12:05:47 -0500
commitacd19499e9724615d720b29c74be6b218ce765c6 (patch)
tree9fc6df77c09e74aa980c7d99977522c507c34373 /scripts/mod/modpost.c
parentd78437245aa3842e8eeaef2709753ac485465652 (diff)
[PATCH] Fix section mismatch in parainstructions
Section .parainstructions should not warn about section mismatches. WARNING: drivers/net/hamradio/scc.o - Section mismatch: reference to .exit.text: from .parainstructions after '' (at offset 0x0) WARNING: drivers/net/hamradio/scc.o - Section mismatch: reference to .exit.text: from .parainstructions after '' (at offset 0x8) Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Andi Kleen <ak@suse.de> Acked-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'scripts/mod/modpost.c')
-rw-r--r--scripts/mod/modpost.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index ac0a58222992..15ab5d02e80a 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -997,6 +997,7 @@ static int exit_section_ref_ok(const char *name)
997 "__bug_table", /* used by powerpc for BUG() */ 997 "__bug_table", /* used by powerpc for BUG() */
998 ".exitcall.exit", 998 ".exitcall.exit",
999 ".eh_frame", 999 ".eh_frame",
1000 ".parainstructions",
1000 ".stab", 1001 ".stab",
1001 "__ex_table", 1002 "__ex_table",
1002 ".fixup", 1003 ".fixup",