* config/obj-elf.c (elf_frob_file): frag_wane any new frags.
authorAlan Modra <amodra@gmail.com>
Tue, 27 Feb 2007 07:16:31 +0000 (07:16 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 27 Feb 2007 07:16:31 +0000 (07:16 +0000)
gas/ChangeLog
gas/config/obj-elf.c

index f0db1b3..311fc31 100644 (file)
@@ -1,3 +1,7 @@
+2007-02-27  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/obj-elf.c (elf_frob_file): frag_wane any new frags.
+
 2007-02-25  Mark Shinwell  <shinwell@codesourcery.com>
 
        * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.
index f083733..b826803 100644 (file)
@@ -1987,6 +1987,7 @@ elf_frob_file (void)
       bfd_set_section_size (stdoutput, s, size);
       s->contents = (unsigned char *) frag_more (size);
       frag_now->fr_fix = frag_now_fix_octets ();
+      frag_wane (frag_now);
     }
 
 #ifdef elf_tc_final_processing