]> git.baikalelectronics.ru Git - kernel.git/commit
arch/tile: avoid generating .eh_frame information in modules
authorChris Metcalf <cmetcalf@tilera.com>
Fri, 19 Oct 2012 15:43:11 +0000 (11:43 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Tue, 23 Oct 2012 14:21:43 +0000 (10:21 -0400)
commitaca442ee360f36043a3e68dbcb92224441f1dcf8
tree1bd7b33b5433edc3e42a6e5ab837dc83dee0b9f2
parent6ab66186695d33c81b559545154047cd3436b033
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 <cmetcalf@tilera.com>
Cc: stable@vger.kernel.org
arch/tile/Makefile