This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

Re: Commited patch for elf*-sparc.c (was binutils: "unexpected reloc type 0x17" on sparc)


On Wed, Jul 11, 2001 at 06:04:23PM -0400, Jakub Jelinek wrote:
> > For dwarf2 sections, gdb _should_ use the reloc sections.
> 
> What for?

Because otherwise gdb doesn't know what the address for a given
symbol should be.  All it has is a big fat 0 because the symbol
was resolved by ld to some external DSO.

GDB should take the .rela.debug_* sections and apply them to it's
local copy of .debug_info using the same rules used by ld.so.


r~


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