From f3c54bd2c1850601b80aa0558b8843517125f50f Mon Sep 17 00:00:00 2001 From: obrien Date: Fri, 5 Jul 2002 20:16:34 +0000 Subject: 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. --- contrib/binutils/bfd/xcofflink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/binutils/bfd/xcofflink.c') 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); -- cgit v1.1