2005-07-25 H.J. Lu <hongjiu.lu@intel.com>
[deliverable/binutils-gdb.git] / bfd / elf.c
index ff46a5e2ea97ee11a30826fab7b82da610f5b376..3e47b021aa17b6da29d0784d17a9759b520a9075 100644 (file)
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -2618,7 +2618,7 @@ elf_fake_sections (bfd *abfd, asection *asect, void *failedptrarg)
       return;
     }
 
-  this_hdr->sh_flags = 0;
+  /* Don't clear sh_flags. Assembler may set additional bits.  */
 
   if ((asect->flags & SEC_ALLOC) != 0
       || asect->user_set_vma)
This page took 0.023513 seconds and 4 git commands to generate.