This adds testfilebaxmin, an ET_EXEC binary with .gnu_debugdata that
doesn't match the load address of the main file. A previous bug made
this trigger a kernel heuristic that forces the module to act like
ET_DYN, which makes things like dwfl_module_relocate_address report
relative addresses rather
When trying to add libdw support for Powerpc in the Linux perf tool,
I am getting the DWARF error NO_UNWIND.
Following is the rough sequence of calls to libdw are from the perf
tool:
dwfl = dwfl_begin()
dwfl_addrmodule(dwfl, instruction_pointer);
dwfl_attach_state(dwfl,
On Mon, 10 Mar 2014 21:27:54 +0100, Mark Wielaard wrote:
> Normally we either get all of the shdrs or can easily detect that the
> end of the ELF file (where the shdrs are normally located) doesn't fall
> completely in the last segment mapped in. The exception is needed only
> in some corner cases
On Mon, 2014-03-10 at 14:37 -0700, Josh Stone wrote:
> On 03/10/2014 02:23 PM, Mark Wielaard wrote:
> > On Fri, 2014-03-07 at 17:39 -0800, Josh Stone wrote:
> >> Maybe this only needs to add a check that file == &mod->main
> >
> > Yes, I think that would be the correct thing to do. Both find_dw an