* reloc16.c (bfd_coff_reloc16_relax_section): Set rawsize.

This commit is contained in:
Alan Modra 2004-06-29 13:51:20 +00:00
parent 075154045b
commit e87a64e1f0
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2004-06-29 Alan Modra <amodra@bigpond.net.au>
* reloc16.c (bfd_coff_reloc16_relax_section): Set rawsize.
2004-06-29 Alan Modra <amodra@bigpond.net.au>
* bfd-in.h (bfd_get_section_limit): Define.

View File

@ -230,6 +230,7 @@ bfd_coff_reloc16_relax_section (abfd, input_section, link_info, again)
free ((char *) shrinks);
}
input_section->rawsize = input_section->size;
input_section->size -= shrink;
free ((char *) reloc_vector);
return TRUE;