binutils patch
Geoff Keating
geoffk@geoffk.org
Mon Oct 8 01:03:00 GMT 2001
> 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>
More information about the Binutils
mailing list