[rfc] eh-frame clobbers memory
Alan Modra
amodra@bigpond.net.au
Sun May 22 17:04:00 GMT 2005
On Sun, May 22, 2005 at 03:14:14AM -0700, Richard Henderson wrote:
> * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Reallocate
> contents if the section size grew.
elf_link_input_bfd will normally be using finfo.contents to buffer
eh_frame sections, so you definitely don't want to do this.
I suppose alpha must be stashing .eh_frame contents away in
elf_section_data this_hdr.contents, during elf64_alpha_relax_section.
Avoid that for .eh_frame and everything should work.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list