From e87a64e1f0fb7718a214f10d6c31ce2050d4a760 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 29 Jun 2004 13:51:20 +0000 Subject: [PATCH] * reloc16.c (bfd_coff_reloc16_relax_section): Set rawsize. --- bfd/ChangeLog | 4 ++++ bfd/reloc16.c | 1 + 2 files changed, 5 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3767818320e..8e6011447f5 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2004-06-29 Alan Modra + + * reloc16.c (bfd_coff_reloc16_relax_section): Set rawsize. + 2004-06-29 Alan Modra * bfd-in.h (bfd_get_section_limit): Define. diff --git a/bfd/reloc16.c b/bfd/reloc16.c index 4e809537dca..04e6a21dc6b 100644 --- a/bfd/reloc16.c +++ b/bfd/reloc16.c @@ -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; -- 2.30.2