This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Relocs against unalloced sections in shared libraries
On Fri, Jan 10, 2003 at 01:50:51PM +1030, Alan Modra wrote:
> But by its nature, debug info is describing local entities.
Not true. All symbols in a header file get debug info.
Those symbols may well be external to the DSO.
> In fact, allowing ELF shared lib symbol overriding to affect
> debug info might result in confusion.
It's true that GDB would have to follow the same rules
in looking up the symbol for the reloc that ld.so does.
But that's a different problem.
r~