]> git.baikalelectronics.ru Git - kernel.git/commit
ARC: dw2 unwind: Reinstante unwinding out of modules
authorVineet Gupta <vgupta@synopsys.com>
Fri, 11 Dec 2015 12:34:22 +0000 (18:04 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Thu, 17 Dec 2015 05:40:23 +0000 (11:10 +0530)
commit7df9a563721c2e5c84b3b27be6baf252ccb87c10
tree7dceeabe3e3ec851813eb6f752e15eeb95bc7f58
parent585df23e1d8edd3f22eb77adbc5ba676ee1c1faa
ARC: dw2 unwind: Reinstante unwinding out of modules

The fix which removed linear searching of dwarf (because binary lookup
data always exists) missed out on the fact that modules don't get the
binary lookup tables info. This caused unwinding out of modules to stop
working.

So add binary lookup header setup (equivalent of eh_frame_hdr setup) to
modules as well.

While at it, confine the header setup to within unwinder code,
reducing one API exposed out of unwinder code.

Fixes: c0fb9cd90d09 ARC: dw2 unwind: Remove falllback linear search thru FDE entries
Cc: <stable@vger.kernel.org>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/unwind.h
arch/arc/kernel/setup.c
arch/arc/kernel/unwind.c