This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfc] eh-frame clobbers memory


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]