OSDN Git Service

PR 1147
authorNick Clifton <nickc@redhat.com>
Tue, 2 Aug 2005 08:17:45 +0000 (08:17 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 2 Aug 2005 08:17:45 +0000 (08:17 +0000)
commit8d84ea690d6832545d687449d6c5c9bff3ea9b74
tree916c0e53d73c5a225c795c5442b8f8d3494feedf
parentfd23737e116a7aaea43320c3a188c083b3733b02
PR 1147
* elf32-arm.c (struct _arm_elf_section_data): Turn into a typedef and make the
  mapcount field unsigned.
(struct section_list): New: Used to keep track of which sections have an
  _arm_elf_section_data structure.
(record_section_with_arm_elf_section_data): New function.
(get_arm_elf_section_data): New function.
(unrecord_section_with_arm_elf_section_data): New function.
(elf32_arm_output_symbol_hook): Use get_arm_elf_section_data.
(elf32_arm_new_section_hook): Call record_section_with_arm_elf_section_data.
(elf32_arm_write_section): Use get_arm_elf_section_data and
  unrecord_section_with_arm_elf_section_data.
bfd/ChangeLog
bfd/elf32-arm.c