OSDN Git Service

* reloc16.c (bfd_coff_reloc16_relax_section): Set rawsize.
authoramodra <amodra>
Tue, 29 Jun 2004 13:51:19 +0000 (13:51 +0000)
committeramodra <amodra>
Tue, 29 Jun 2004 13:51:19 +0000 (13:51 +0000)
bfd/ChangeLog
bfd/reloc16.c

index 3767818..8e60114 100644 (file)
@@ -1,5 +1,9 @@
 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.
        * reloc.c (bfd_perform_relocation, bfd_install_relocation) 
        (_bfd_final_link_relocate): Use bfd_get_section_limit.
index 4e80953..04e6a21 100644 (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;