PR25662, invalid sh_offset for first section in segment with phdrs
authorAlan Modra <amodra@gmail.com>
Tue, 24 Mar 2020 00:12:45 +0000 (10:42 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 25 Mar 2020 04:21:41 +0000 (14:51 +1030)
commitd16e3d2e5b717cf83c1fe47a70e0a9f2c2024a44
treec47ce831be747a5f74e963ef3ac523514576b0fe
parent0d4a4bc56fc947565ef0dd4b440a157e7d592b09
PR25662, invalid sh_offset for first section in segment with phdrs

PR 25662
* elf.c (assign_file_positions_for_load_sections): Adjust offset
for SHT_NOBITS section if first in segment.
bfd/ChangeLog
bfd/elf.c