This is the mail archive of the
mailing list for the elfutils project.
Re: [patch] Resolve ppc64 func descriptors as .func (via .opd)
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Tue, 11 Dec 2012 11:13:37 +0100
- Subject: Re: [patch] Resolve ppc64 func descriptors as .func (via .opd)
On Tue, 2012-12-11 at 11:02 +0100, Jan Kratochvil wrote:
> On Tue, 11 Dec 2012 10:33:06 +0100, Jan Kratochvil wrote:
> > This is the disagreement, so goint to write down here a question to IBM ABI
> > authority, we can agree upon the question and send it.
> Are you fine with the mail below?
I don't think dwfl_module_addrsym () really has anything to do with the
ppc64 ABI since all it does is resolve an address to a symbol in a table
we happen to have at hand (how is libdwfl specific, and it happens to be
the function descriptor in the case of ppc64 in some cases, with the
st_value adjusted). That symbol has a particular name that we just
return. You might want to ask about how backtraces on ppc64 should print
(function) names, but IMHO that is separate from the string that
dwfl_module_addrsym () happens to return.