This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH 2/4] libdwfl: make the unwinder aware of the backend defined ra_offset.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Sun, 03 Jan 2016 12:23:34 +0100
- Subject: Re: [PATCH 2/4] libdwfl: make the unwinder aware of the backend defined ra_offset.
On Tue, Dec 08, 2015 at 07:10:41PM +0100, Jose E. Marchesi wrote:
> Ebl backends can define an offset that must be applied to the value of
> the "return address register" defined in the CFI ABI information.
> This patch makes the unwinder to use that offset when reading the RA
> CFI register.
Looks good. Pushed to master.
Thanks for convincing me on irc that adjusting the return address is
the way to go to make this consistent with other arches instead of
trying to add even more magic to the return address -> calling address
code (as was my first suggestion).