aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-elf.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-02-27 07:16:31 +0000
committerAlan Modra <amodra@gmail.com>2007-02-27 07:16:31 +0000
commit07cb2078a9f57853cb3193433aafc0e07f471aa2 (patch)
tree798ab16784bb2a01e7ccfa426dacdcba6da808fc /gas/config/obj-elf.c
parent9836f81b1ec8f1187403b6885be46cbd63c94d36 (diff)
downloadgdb-07cb2078a9f57853cb3193433aafc0e07f471aa2.zip
gdb-07cb2078a9f57853cb3193433aafc0e07f471aa2.tar.gz
gdb-07cb2078a9f57853cb3193433aafc0e07f471aa2.tar.bz2
* config/obj-elf.c (elf_frob_file): frag_wane any new frags.
Diffstat (limited to 'gas/config/obj-elf.c')
-rw-r--r--gas/config/obj-elf.c1
1 files changed, 1 insertions, 0 deletions
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