2011-02-15 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Tue, 15 Feb 2011 09:35:42 +0000 (09:35 +0000)
committerTristan Gingold <gingold@adacore.com>
Tue, 15 Feb 2011 09:35:42 +0000 (09:35 +0000)
* vms-alpha.c (alpha_vms_link_add_archive_symbols): Add a comment.

bfd/ChangeLog
bfd/vms-alpha.c

index 4c73deea2d324ac82fd9dd3f1c782ac9d0f38c5b..1ab968c295fc438d67052b3a85c73a3c88da100d 100644 (file)
@@ -1,3 +1,7 @@
+2011-02-15  Tristan Gingold  <gingold@adacore.com>
+
+       * vms-alpha.c (alpha_vms_link_add_archive_symbols): Add a comment.
+
 2011-02-15  Alan Modra  <amodra@gmail.com>
 
        * elf64-ppc.c (ppc64_elf_edit_toc): Reinstate second read of
index 322de62c2bd35e877367d10e19bb2e7e428ceb5d..b8ae26d46183f3d75627061c3268f37c0b70d3de 100644 (file)
@@ -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))
         {