* elf.c (assign_file_positions_for_segments): Thinko last change.

Always overwrite p_flags.
This commit is contained in:
Richard Henderson 1999-07-13 20:10:26 +00:00
parent 3018b44153
commit 28a7f3e70d
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,8 @@
1999-07-13 Richard Henderson <rth@cygnus.com>
* elf.c (assign_file_positions_for_segments): Thinko last change.
Always overwrite p_flags.
1999-07-13 Richard Henderson <rth@cygnus.com>
* elf-bfd.h (struct elf_backend_data): Add want_dynbss.

View File

@ -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