diff options
author | Alan Modra <amodra@gmail.com> | 2002-04-26 13:43:10 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-04-26 13:43:10 +0000 |
commit | e54fdaa5c98411e1874ba00e0b2d08815148ac06 (patch) | |
tree | 6985259052abd682500b97e273f396480d669568 /bfd/xcofflink.c | |
parent | a50c18456ead8f239ca5af06ad7e418f6659ddce (diff) | |
download | gdb-e54fdaa5c98411e1874ba00e0b2d08815148ac06.zip gdb-e54fdaa5c98411e1874ba00e0b2d08815148ac06.tar.gz gdb-e54fdaa5c98411e1874ba00e0b2d08815148ac06.tar.bz2 |
* opncls.c (bfd_make_readable): Call bfd_section_list_clear.
* xcofflink.c (xcoff_link_add_dynamic_symbols): Likewise.
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 79952d2..0769826 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); |