This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: binutils patch
- To: howarth at nitro dot med dot uc dot edu
- Subject: Re: binutils patch
- From: Geoff Keating <geoffk at geoffk dot org>
- Date: Mon, 8 Oct 2001 01:21:49 -0700
- CC: binutils at sources dot redhat dot com, gdb at sources dot redhat dot com
- References: <200110071300.JAA15309@nitro.msbb.uc.edu>
- Reply-to: Geoff Keating <geoffk at redhat dot com>
> Date: Sun, 7 Oct 2001 09:00:19 -0400 (EDT)
> From: Jack Howarth <howarth@nitro.med.uc.edu>
> This is similar to my sparc32 patch from July.
> Basically, I don't think we should output .rela.* sections for debugging
> sections in shared libraries (of course, unless --emit-relocs), gdb doesn't
> use it anyway and most other ELF backends don't emit them.
I believe this is a known problem with GDB which will be corrected
eventually. With stabs, it's not clear what the correct behaviour is,
but with DWARF (which will be the default in GCC 3.1) it's clearly
correct to generate and use the relocs.
--
- Geoffrey Keating <geoffk@geoffk.org>