[PATCH] libebl: Add ebl_unwind_ret_mask.

Mark Wielaard mjw at redhat.com
Sun Jun 15 10:50:14 UTC 2014


On Sun, 2014-06-15 at 12:39 +0200, Kurt Roeckx wrote:
> On Sun, Jun 15, 2014 at 12:30:02PM +0200, Mark Wielaard wrote:
> > Another ARM oddity. A return value address in an unwind will contain an
> > extra bit to indicate whether to return to a regular ARM or THUMB function.
> > Add a new ebl function to return a mask to use to get the actual return
> > address during an unwind ebl_unwind_ret_mask.
> 
> Does this fix all the issues on armhf now, including the
> backtrace?

Yes, you'll need this patch, the "libebl: Add sym_func_value hook" and
the "tests: backtrace.c accept __libc_do_syscall as first frame symname"
patches. With libc6-dbg installed all tests should PASS with 3 SKIPs,
without libc6-dbg installed you should see 6 SKIPs (no FAILs).

The other recent patches should be optional, but help for arches which
don't have a fully working unwind backend and make the tests a bit more
robust and clear when something does go wrong.

Cheers,

Mark



More information about the elfutils-devel mailing list