]> err.no Git - linux-2.6/commit
kbuild: make better section mismatch reports on i386 and mips
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Tue, 22 May 2007 09:27:39 +0000 (18:27 +0900)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 16 Jul 2007 19:48:49 +0000 (21:48 +0200)
commitae4ac12323c0ff80528cac3269151d580e23f923
treed284aebe7c743b3ea41a2d65a7bda1cf666de964
parentb70e325cfe824ea0f6a1666b8b8db986e99c9603
kbuild: make better section mismatch reports on i386 and mips

On i386 and MIPS, warn_sec_mismatch() sometimes fails to show
usefull symbol name.  This is because empty 'refsym' due to 0 r_addend
value.  This patch is to adjust r_addend value, consulting with
apply_relocate() routine in kernel code.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/mod/modpost.c
scripts/mod/modpost.h