PATCH: PR binutils/4756: addr2line fails on relocatable linux kernel

Daniel Jacobowitz
Mon Jul 9 21:30:00 GMT 2007

On Mon, Jul 09, 2007 at 12:52:45PM -0700, H.J. Lu wrote:
> On Mon, Jul 09, 2007 at 02:56:04PM -0400, Daniel Jacobowitz wrote:
> > On Mon, Jul 09, 2007 at 11:43:40AM -0700, H.J. Lu wrote:
> > > bfd_simple_get_relocated_section_content shouldn't apply relocations
> > > on executable and shared library with relocations. This patch uses
> > > the same check in binutils/objdump.c.
> > 
> > Do you see any way to fix this that does not drop support for shared
> > libraries where debug info has not been relocated?
> Can you provide a testcase to show the problem? I can take a look.

It is no longer possible to build one with GNU binutils.  If you have
a four or so year old copy for powerpc-linux, it should be easy; but
the last time I tried I didn't have any sufficiently old tools
available.  Sorry, no testcase.

Daniel Jacobowitz

More information about the Binutils mailing list