OSDN Git Service

PR ld/7028
authorHans-Peter Nilsson <hp@axis.com>
Thu, 13 Nov 2008 03:01:14 +0000 (03:01 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Thu, 13 Nov 2008 03:01:14 +0000 (03:01 +0000)
commit3bc893e160cf38a01c0d63a0f0be9f90ef534c1c
treef9e8e056b38f927890b6a376693a61778e5a6af2
parent57b38614cf581206f5f72d8cf02cbca2eb76f198
PR ld/7028
* elf.c (assign_file_positions_for_load_sections): Allocate phrds
with bfd_zalloc2 instead of bfd_alloc2.  For the amount, use
the possibly-preset header-size, not the computed one.
bfd/ChangeLog
bfd/elf.c