summaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-04-26 03:16:43 +0000
committerAlan Modra <amodra@bigpond.net.au>2002-04-26 03:16:43 +0000
commite9e140e3f8e8148f97e872f471c7735c641f1e00 (patch)
treefee2c5be24c24fc0520187aea65504fa92241cf0 /bfd/coffcode.h
parenta1a28eb15ffcefdac3ef7064086e0ddc0184aca6 (diff)
downloadgdb-e9e140e3f8e8148f97e872f471c7735c641f1e00.tar.gz
* 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 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 = &current->next
free (section_list);
}