Allocate elf_segment_map with bfd_zalloc
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 13 Nov 2012 22:54:21 +0000 (22:54 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 13 Nov 2012 22:54:21 +0000 (22:54 +0000)
commit5964fc3adc7735dcdfbde0bb1d3cbceadf2c7c46
treee59d7861136f180c2d7cc9b115728a9e3e0a76ad
parent62747a60cb791459a9431d3f5f49ddec771084b8
Allocate elf_segment_map with bfd_zalloc

* elf.c (rewrite_elf_program_header): Allocate elf_segment_map
with bfd_zalloc, instead of bfd_alloc.
bfd/ChangeLog
bfd/elf.c