summaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-04-26 03:16:43 +0000
committerAlan Modra <amodra@bigpond.net.au>2002-04-26 03:16:43 +0000
commite9e140e3f8e8148f97e872f471c7735c641f1e00 (patch)
treefee2c5be24c24fc0520187aea65504fa92241cf0 /bfd
parenta1a28eb15ffcefdac3ef7064086e0ddc0184aca6 (diff)
downloadgdb-e9e140e3f8e8148f97e872f471c7735c641f1e00.tar.gz
* coffcode.h (coff_compute_section_file_positions): Set
section_tail after shuffling section list.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/coffcode.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 19a70477bd5..9aff0f9aee7 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2002-04-26 Alan Modra <amodra@bigpond.net.au>
+
+ * coffcode.h (coff_compute_section_file_positions): Set
+ section_tail after shuffling section list.
+
2002-04-24 Christian Groessler <chris@groessler.org>
* coff-z8k.c (extra_case): Fix R_IMM32 relocations: The
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index dad0ce52e40..84269bd1ccc 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -3014,6 +3014,7 @@ coff_compute_section_file_positions (abfd)
else
current->target_index = target_index++;
}
+ abfd->section_tail = &current->next
free (section_list);
}