From: Tristan Gingold Date: Tue, 15 Feb 2011 09:35:42 +0000 (+0000) Subject: 2011-02-15 Tristan Gingold X-Git-Tag: cygwin-1_7_8-release~115 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6fa052f0483dfa6a9f57e530983aef1349a670a3;p=platform%2Fupstream%2Fbinutils.git 2011-02-15 Tristan Gingold * vms-alpha.c (alpha_vms_link_add_archive_symbols): Add a comment. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 4c73dee..1ab968c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2011-02-15 Tristan Gingold + + * vms-alpha.c (alpha_vms_link_add_archive_symbols): Add a comment. + 2011-02-15 Alan Modra * elf64-ppc.c (ppc64_elf_edit_toc): Reinstate second read of diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c index 322de62..b8ae26d 100644 --- a/bfd/vms-alpha.c +++ b/bfd/vms-alpha.c @@ -8255,7 +8255,10 @@ alpha_vms_link_add_archive_symbols (bfd *abfd, struct bfd_link_info *info) return FALSE; if (element->archive_pass == -1 || element->archive_pass == pass) - continue; + { + /* Next symbol if this archive is wrong or already handled. */ + continue; + } if (! bfd_check_format (element, bfd_object)) {