diff options
author | Richard Henderson <rth@redhat.com> | 1999-07-13 20:10:26 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 1999-07-13 20:10:26 +0000 |
commit | 28a7f3e70d035106d1c87a1b7a96bc8fc31a043a (patch) | |
tree | c2b0911a5efe8ceac6dd2ca9e2edfb2de2bf8b6e /bfd/elf.c | |
parent | 3018b4415306bf86c26515447e3e519f4cf1f135 (diff) | |
download | gdb-28a7f3e70d035106d1c87a1b7a96bc8fc31a043a.zip gdb-28a7f3e70d035106d1c87a1b7a96bc8fc31a043a.tar.gz gdb-28a7f3e70d035106d1c87a1b7a96bc8fc31a043a.tar.bz2 |
* elf.c (assign_file_positions_for_segments): Thinko last change.
Always overwrite p_flags.
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 |