Commited patch for elf*-sparc.c (was binutils: "unexpected reloc type 0x17" on sparc)
Richard Henderson
rth@redhat.com
Wed Jul 11 15:20:00 GMT 2001
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~
More information about the Libc-alpha
mailing list