diff options
author | Tristan Gingold <gingold@adacore.com> | 2011-02-15 09:35:42 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2011-02-15 09:35:42 +0000 |
commit | 6fa052f0483dfa6a9f57e530983aef1349a670a3 (patch) | |
tree | 21cb76af2de082400c491b892520faf27610f73a /bfd | |
parent | 28be611cf8f68185d47271a242db07f87c7f17af (diff) | |
download | gdb-6fa052f0483dfa6a9f57e530983aef1349a670a3.zip gdb-6fa052f0483dfa6a9f57e530983aef1349a670a3.tar.gz gdb-6fa052f0483dfa6a9f57e530983aef1349a670a3.tar.bz2 |
2011-02-15 Tristan Gingold <gingold@adacore.com>
* vms-alpha.c (alpha_vms_link_add_archive_symbols): Add a comment.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/vms-alpha.c | 5 |
2 files changed, 8 insertions, 1 deletions
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 <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 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)) { |