This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] libebl: Add ebl_unwind_ret_mask.
- From: Kurt Roeckx <kurt at roeckx dot be>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Sun, 15 Jun 2014 20:08:59 +0200
- Subject: Re: [PATCH] libebl: Add ebl_unwind_ret_mask.
On Sun, Jun 15, 2014 at 12:50:14PM +0200, Mark Wielaard wrote:
> 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.
Things seem to have worked on arm(hf) now, but I got a bus error
on sparc instead. Things that changed between the previous upload
and this one are the 4 patches you made, and that we switched
to gcc 4.9, eglibc 2.19, ... But I suspect it's one of the
patches.
Kurt