From 07cb2078a9f57853cb3193433aafc0e07f471aa2 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 27 Feb 2007 07:16:31 +0000 Subject: [PATCH] * config/obj-elf.c (elf_frob_file): frag_wane any new frags. --- gas/ChangeLog | 4 ++++ gas/config/obj-elf.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index f0db1b3e7d8..311fc31eabe 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2007-02-27 Alan Modra + + * config/obj-elf.c (elf_frob_file): frag_wane any new frags. + 2007-02-25 Mark Shinwell * 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 f08373351f6..b826803f9ff 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 -- 2.30.2