gdb/454: "DW_FORM_strp pointing outside of .debug_str section"
Alan Modra
amodra@bigpond.net.au
Wed Oct 23 05:13:00 GMT 2002
On Wed, Oct 23, 2002 at 12:32:31AM +0200, Stephane Carrez wrote:
> My problem was in the assembler where the BFD_RELOC_32 to the .debug_str
> labels
> are turned into relocs against the section. This is very bad because the
> .debug_str
> section is marked with M/SEC_MERGE and strings can be removed.
This is not a problem. Or at least there is code in bfd to adjust
relocs for SEC_MERGE sections. See _bfd_elf_rel_local_sym and
_bfd_elf_rela_local_sym.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list