]> git.baikalelectronics.ru Git - kernel.git/commit
sh: Ignore R_SH_NONE module relocations.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 23 May 2011 08:09:30 +0000 (17:09 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 23 May 2011 08:09:30 +0000 (17:09 +0900)
commit9f9e47b4d1584a0507cb4175447f3f473aa1125a
treea4d9fc2c682a39c1016a2c29de5633fa7873ed32
parent9898dfa0e7ac439f48025ba1ce65e27d1318eace
sh: Ignore R_SH_NONE module relocations.

Some modules may end up with R_SH_NONE relocs with the right combination
of compiler/kernel config (specifically dwarf unwinder), so simply trap
and ignore them instead of letting them get down to the error path.

Reported-by: Carmelo AMOROSO <carmelo.amoroso@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/module.c