From: Alan Modra Date: Fri, 26 Apr 2002 03:16:43 +0000 (+0000) Subject: * coffcode.h (coff_compute_section_file_positions): Set X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eba91044963246c0246346b7ccd1242a49bd6737;p=binutils-gdb.git * coffcode.h (coff_compute_section_file_positions): Set section_tail after shuffling section list. --- 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 + + * 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 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 = ¤t->next free (section_list); }