aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/obj-elf.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index f0db1b3..311fc31 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c
index f083733..b826803 100644
--- a/gas/config/obj-elf.c
+++ b/gas/config/obj-elf.c
@@ -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