aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
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/coffcode.h
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/coffcode.h')
-rw-r--r--bfd/coffcode.h1
1 files changed, 1 insertions, 0 deletions
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);
}