This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: [marco.gidde@gatekeeper.pcc.de: wrong line numbers when debugging shared libraries]
On Wed, Apr 05, 2000 at 10:46:50AM -0700, Ian Lance Taylor wrote:
> Date: Wed, 5 Apr 2000 07:51:20 -0700
> From: "H . J . Lu" <hjl@lucon.org>
>
> It seems that "nm -l" doesn't work on shared libraries. But gdb is ok.
> Any ideas?
>
> I think it is this old patch again:
>
> 1998-12-10 Richard Henderson <rth@cygnus.com>
>
> * elf32-i386.c (elf_i386_relocate_section): Don't fail relocations
> in debug sections for symbol defined externally.
>
> I suspect that patch is a bad idea, and I didn't want it put in the
> first place. However, I have never found the time to do the research
> necessary to definitely convince myself one way or another. It's a
> hard issue to decide.
>
Do we have a testcase which triggers this patch? What happens if we
revert it?
H.J.