[patch] Resolve ppc64 func descriptors as .func (via .opd)

Mark Wielaard mjw at redhat.com
Tue Dec 11 10:13:37 UTC 2012


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.

Cheers,

Mark



More information about the elfutils-devel mailing list