On Thu, Jul 12, 2018 at 09:38:16PM +0000, Joerg Sonnenberger wrote: > @@ -4448,6 +4455,13 @@ _bfd_elf_map_sections_to_segments (bfd * > section. */ > s = bfd_get_section_by_name (abfd, ".interp"); > if (s != NULL && (s->flags & SEC_LOAD) != 0) > + s = NULL;
perhaps that should be > if (s != NULL && (s->flags & SEC_LOAD) == 0)