From eba91044963246c0246346b7ccd1242a49bd6737 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 26 Apr 2002 03:16:43 +0000 Subject: [PATCH] * coffcode.h (coff_compute_section_file_positions): Set section_tail after shuffling section list. --- bfd/ChangeLog | 5 +++++ bfd/coffcode.h | 1 + 2 files changed, 6 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 19a70477bd..9aff0f9aee 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2002-04-26 Alan Modra + + * coffcode.h (coff_compute_section_file_positions): Set + section_tail after shuffling section list. + 2002-04-24 Christian Groessler * coff-z8k.c (extra_case): Fix R_IMM32 relocations: The diff --git a/bfd/coffcode.h b/bfd/coffcode.h index dad0ce52e4..84269bd1cc 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 = ¤t->next free (section_list); }