diff options
Diffstat (limited to 'bfd/elf.c')
-rw-r--r-- | bfd/elf.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -2558,9 +2558,7 @@ assign_file_positions_for_segments (abfd) elf_sort_sections); p->p_type = m->p_type; - - if (m->p_flags_valid) - p->p_flags |= m->p_flags; + p->p_flags = m->p_flags; if (p->p_type == PT_LOAD && m->count > 0 |