PR binutils/4110
authorNick Clifton <nickc@redhat.com>
Thu, 29 Mar 2007 14:37:02 +0000 (14:37 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 29 Mar 2007 14:37:02 +0000 (14:37 +0000)
commit1783205a776ecd5d291f285ddf80cdf6656e05ff
tree0695fc3fd552ae7ec0ce68ad9fb8b591dfd830b4
parente55518010951f26d1b807c4c19d1d9f635358ab6
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