]> 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)
commit41ccced03569cfb247dedd86ca86be86c854adb5
tree7dceeabe3e3ec851813eb6f752e15eeb95bc7f58
parent6281299cb5d3d5715abd6cebf6e308c43e0d7f9f
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: 491994c0bd2a 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