diff options
Diffstat (limited to 'bfd/xcofflink.c')
-rw-r--r-- | bfd/xcofflink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/xcofflink.c b/bfd/xcofflink.c index 79952d2280a..07698267520 100644 --- a/bfd/xcofflink.c +++ b/bfd/xcofflink.c @@ -2121,7 +2121,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); |