OSDN Git Service

PR binutils/4110
authornickc <nickc>
Thu, 29 Mar 2007 14:37:02 +0000 (14:37 +0000)
committernickc <nickc>
Thu, 29 Mar 2007 14:37:02 +0000 (14:37 +0000)
commit4606333000e2ac146a0f226b72b7907ec9281838
tree93d7c443dcd78efb1876ae4a588e514418811907
parentb616c3d7543a7fd6e5260279419b23a4084dfe70
PR binutils/4110
* elf.c (IS_VALID_GROUP_SECTION_HEADER): New macro.
  (setup_group): Use it.  Report corrupt group section headers.
  (bfd_section_from_shdr): Use new macro.  Replace constant 4 with
      GRP_ENTRY_SIZE.  Cope with NULLs in the group section table.
  (elf_fake_section): Replace constant 4 with GRP_ENTRY_SIZE.
bfd/ChangeLog
bfd/elf.c