aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-04-26 03:16:43 +0000
committerAlan Modra <amodra@gmail.com>2002-04-26 03:16:43 +0000
commiteba91044963246c0246346b7ccd1242a49bd6737 (patch)
treefb6d093ef240ba975baf63e45c5775b6455a367d /bfd
parenta968f40a518a568b6f1277611b3bdeb8f1bcaec5 (diff)
downloadgdb-eba91044963246c0246346b7ccd1242a49bd6737.zip
gdb-eba91044963246c0246346b7ccd1242a49bd6737.tar.gz
gdb-eba91044963246c0246346b7ccd1242a49bd6737.tar.bz2
* 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 19a7047..9aff0f9 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 dad0ce5..84269bd 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);
}