Relocs against unalloced sections in shared libraries

Richard Henderson rth@redhat.com
Fri Jan 10 22:09:00 GMT 2003
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~



More information about the Binutils mailing list