From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geoff Keating To: howarth@nitro.med.uc.edu Cc: binutils@sources.redhat.com, gdb@sources.redhat.com Subject: Re: binutils patch Date: Mon, 08 Oct 2001 01:03:00 -0000 Message-id: <200110080821.BAA09479@geoffk.org> References: <200110071300.JAA15309@nitro.msbb.uc.edu> X-SW-Source: 2001-10/msg00073.html > Date: Sun, 7 Oct 2001 09:00:19 -0400 (EDT) > From: Jack Howarth > 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