* 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 f0db1b3e7d83c4679bbda4af51786e08a04580d1..311fc31eabedd9e1ee1cfd195d6a91fff1f37e3c 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 f08373351f677b38e616949d4e229ed0442adbfb..b826803f9ff0146955394cc69f1a73eeb2a5fa12 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