aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-06-29 13:51:20 +0000
committerAlan Modra <amodra@gmail.com>2004-06-29 13:51:20 +0000
commite87a64e1f0fb7718a214f10d6c31ce2050d4a760 (patch)
tree35d554146534e52be9f85ac407b55e749bd77056
parent075154045b3a1c940a448846723be16e3c7e0930 (diff)
downloadgdb-e87a64e1f0fb7718a214f10d6c31ce2050d4a760.zip
gdb-e87a64e1f0fb7718a214f10d6c31ce2050d4a760.tar.gz
gdb-e87a64e1f0fb7718a214f10d6c31ce2050d4a760.tar.bz2
* reloc16.c (bfd_coff_reloc16_relax_section): Set rawsize.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/reloc16.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 3767818..8e60114 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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.
diff --git a/bfd/reloc16.c b/bfd/reloc16.c
index 4e80953..04e6a21 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;