* coffcode.h (coff_compute_section_file_positions): Set
authorAlan Modra <amodra@gmail.com>
Fri, 26 Apr 2002 03:16:43 +0000 (03:16 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 26 Apr 2002 03:16:43 +0000 (03:16 +0000)
section_tail after shuffling section list.

bfd/ChangeLog
bfd/coffcode.h

index 19a70477bd51a0b2e240871782629bce6a2f71e3..9aff0f9aee77ffc051a7cc1721d8770bedf9355f 100644 (file)
@@ -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
index dad0ce52e40eb3a72cbf44f4f4317f93d1b6bad8..84269bd1ccc034500a408ca00462ca09ae62976c 100644 (file)
@@ -3014,6 +3014,7 @@ coff_compute_section_file_positions (abfd)
        else
          current->target_index = target_index++;
       }
+    abfd->section_tail = &current->next
 
     free (section_list);
   }