This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Relocs against unalloced sections in shared libraries


On Fri, Jan 10, 2003 at 01:50:51PM +1030, Alan Modra wrote:
> On Thu, Jan 09, 2003 at 08:06:05PM -0500, Daniel Jacobowitz wrote:
> > > > No other target emits such relocations.  Currently, the ppc linker
> > 
> > Richard vehemently maintains that they should.  He's specifically
> > vetoed this change in the past.
> 
> Hmm, but is rth corrent?  It seems to me that the only reason debug
> info would need dynamic relocs is if it refers to external syms.  But
> by its nature, debug info is describing local entities.  In fact,
> allowing ELF shared lib symbol overriding to affect debug info might
> result in confusion.

Well, I'm inclned to agree; and when GDB resolves them it takes care to
use only the local symbol table.  But you get to discuss it with him :)

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]