* reloc16.c (bfd_coff_reloc16_relax_section): Set rawsize.
This commit is contained in:
parent
075154045b
commit
e87a64e1f0
2 changed files with 5 additions and 0 deletions
|
@ -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>
|
2004-06-29 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* bfd-in.h (bfd_get_section_limit): Define.
|
* bfd-in.h (bfd_get_section_limit): Define.
|
||||||
|
|
|
@ -230,6 +230,7 @@ bfd_coff_reloc16_relax_section (abfd, input_section, link_info, again)
|
||||||
free ((char *) shrinks);
|
free ((char *) shrinks);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input_section->rawsize = input_section->size;
|
||||||
input_section->size -= shrink;
|
input_section->size -= shrink;
|
||||||
free ((char *) reloc_vector);
|
free ((char *) reloc_vector);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in a new issue