arm-elf-ld 2.16.1 crash at bfd/elf32-arm.c:5536
Sun Aug 7 12:32:00 GMT 2005
On Sunday 07 August 2005 10:20, Nick Clifton wrote:
> Hi Paul,
> > This has broken arm-unknown-eabi-ar.
> I have reopened PR 1147 and placed a second patch there - please could
> you try it out and let me know if you have any problems with it.
Nearly. A couple of bugs: You were only defining bfd_elf32_close_and_cleanup
for the symbian configuration, and and
unrecord_section_with_arm_elf_section_data was trying to free() memory not
allocated with malloc.
Updated patch attached.
2005-08-07 Nick Clifton <email@example.com>
Paul Brook <firstname.lastname@example.org>
* elf32-arm.c (bfd_elf32_close_and_cleanup): Define.
(elf32_arm_close_and_cleanup): New function - walk over the
sections in the bfd that is being closed removing them from the
list of recorded sections.
(unrecord_section_via_map_over_sections): New helper function.
(unrecord_section_with_arm_elf_section_data): Remove call to free.
* elfxx-target.h (bfd_elfNN_close_and_cleanup): Only define if not
already defined by the target.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2331 bytes
Desc: not available
More information about the Binutils