[marco.gidde@gatekeeper.pcc.de: wrong line numbers when debugging shared libraries]

H . J . Lu hjl@lucon.org
Wed Apr 5 10:56:00 GMT 2000


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.


More information about the Binutils mailing list