+2018-10-08 Alan Modra <amodra@gmail.com>
+
+ * elf-nacl.c (nacl_modify_segment_map): Cope with header PT_LOAD
+ lacking sections.
+ * elf.c (_bfd_elf_map_sections_to_segments): Assume file and
+ program headers are required when info->load_phdrs. Reorganize
+ code handling program headers. Generate a mapping without
+ sections just for file and program headers when -z separate-code
+ would indicate they should be on a different page to the first
+ section.
+
2018-10-08 Alan Modra <amodra@gmail.com>
* elf.c (assign_file_positions_for_load_sections): Set p_vaddr