From: Chris Metcalf Date: Fri, 19 Oct 2012 15:43:11 +0000 (-0400) Subject: arch/tile: avoid generating .eh_frame information in modules X-Git-Tag: v3.7-rc3~43^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=627072b06c362bbe7dc256f618aaa63351f0cfe6;p=pandora-kernel.git arch/tile: avoid generating .eh_frame information in modules The tile tool chain uses the .eh_frame information for backtracing. The vmlinux build drops any .eh_frame sections at link time, but when present in kernel modules, it causes a module load failure due to the presence of unsupported pc-relative relocations. When compiling to use compiler feedback support, the compiler by default omits .eh_frame information, so we don't see this problem. But when not using feedback, we need to explicitly suppress the .eh_frame. Signed-off-by: Chris Metcalf Cc: stable@vger.kernel.org --- Reading git-diff-tree failed