Don't set sh_size for .shstrtab twice
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 25 Jun 2015 19:12:43 +0000 (12:12 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 25 Jun 2015 20:04:07 +0000 (13:04 -0700)
commit946748d5ed1d218adfccd523be9fdf280adfe434
tree040d6f09bf3475a8c09d58b1e8ade54297b49d9e
parentbf7b9cd9aa4645119792e9d1689e0f014f43934f
Don't set sh_size for .shstrtab twice

_bfd_elf_assign_file_positions_for_non_load will set the sh_size
field for .shstrtab section.  There is need to initialize it in
_bfd_elf_compute_section_file_positions.

* elf.c (_bfd_elf_compute_section_file_positions): Don't
initialize sh_size for .shstrtab here.
bfd/ChangeLog
bfd/elf.c