Set no file contents PT_LOAD p_offset to first page
authorAlan Modra <amodra@gmail.com>
Fri, 13 Dec 2019 05:44:57 +0000 (16:14 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 13 Dec 2019 10:53:15 +0000 (21:23 +1030)
commit0bc3450e220a4fb29f931ada84b546ce8993e85e
treefa87940fb2889586fdedaf475172f47bb12a2529
parentc7ff3609c188d15692b5db53d4292fbabce8171a
Set no file contents PT_LOAD p_offset to first page

PR 25237
* elf.c (assign_file_positions_for_load_sections): Attempt to
keep meaningless p_offset for PT_LOAD segments without file
contents within file size.
bfd/ChangeLog
bfd/elf.c