Skip to content
Snippets Groups Projects
Commit ae4ac123 authored by Atsushi Nemoto's avatar Atsushi Nemoto Committed by Sam Ravnborg
Browse files

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: default avatarAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent b70e325c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment