summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/bfd/xcofflink.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-07-05 20:16:34 +0000
committerobrien <obrien@FreeBSD.org>2002-07-05 20:16:34 +0000
commitf3c54bd2c1850601b80aa0558b8843517125f50f (patch)
tree30918b465d458ef1aca113937ad46b1e912ce044 /contrib/binutils/bfd/xcofflink.c
parent18ff9f4f1bddd11c341a37177885ac89fcccedd9 (diff)
downloadFreeBSD-src-f3c54bd2c1850601b80aa0558b8843517125f50f.zip
FreeBSD-src-f3c54bd2c1850601b80aa0558b8843517125f50f.tar.gz
Import of Binutils from the FSF 2.12 branch (just post-.1 release).
These bits are taken from the FSF anoncvs repo on 22-June-2002 23:28:00 EDT.
Diffstat (limited to 'contrib/binutils/bfd/xcofflink.c')
-rw-r--r--contrib/binutils/bfd/xcofflink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/binutils/bfd/xcofflink.c b/contrib/binutils/bfd/xcofflink.c
index a939b5c..2e5ca5d 100644
--- a/contrib/binutils/bfd/xcofflink.c
+++ b/contrib/binutils/bfd/xcofflink.c
@@ -2114,7 +2114,7 @@ xcoff_link_add_dynamic_symbols (abfd, info)
/* Remove the sections from this object, so that they do not get
included in the link. */
- abfd->sections = NULL;
+ bfd_section_list_clear (abfd);
bfd_xcoff_swap_ldhdr_in (abfd, contents, &ldhdr);
OpenPOWER on IntegriCloud