* elf.c (assign_file_positions_for_segments): Thinko last change.
authorRichard Henderson <rth@redhat.com>
Tue, 13 Jul 1999 20:10:26 +0000 (20:10 +0000)
committerRichard Henderson <rth@redhat.com>
Tue, 13 Jul 1999 20:10:26 +0000 (20:10 +0000)
        Always overwrite p_flags.

bfd/ChangeLog
bfd/elf.c

index f359ff7746e8d48b0598c16364944fcbb2c2e4a5..230dbca30d475a511b45d3ee23006134c5f7f14d 100644 (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.
index b27a4b4f3d597c1002f601e16a731d1a22e82fe1..9291b9887f03fc75569be4bb2e493711a0835224 100644 (file)
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -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
This page took 0.140548 seconds and 4 git commands to generate.