OSDN Git Service

PR 1147
authorNick Clifton <nickc@redhat.com>
Mon, 8 Aug 2005 11:06:16 +0000 (11:06 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 8 Aug 2005 11:06:16 +0000 (11:06 +0000)
commitefc54726c720fc892030e00eb3fa664280c7d316
treec5f640e748a97bee61e0eb3bb7751b9b8859de36
parent0a1903e0d3d5929aa85054302859a1e90c54e498
PR 1147
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.
  (record_section_with_arm_elf_section_data): Call bfd_malloc instead of
    bfd_alloc.  Remove unneeded abfd parameter.
  (elf32_arm_new_section_hook): Do not pass bfd to record_section_with_arm_elf_section_data.
elfxx-target.h (bfd_elfNN_close_and_cleanup): Only define if not already
  defined by the target.
bfd/ChangeLog
bfd/elf32-arm.c
bfd/elfxx-target.h