This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH] libebl: Add ebl_unwind_ret_mask.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Sun, 15 Jun 2014 12:50:14 +0200
- Subject: Re: [PATCH] libebl: Add ebl_unwind_ret_mask.
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
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.