Work around gold/15646.
authorDoug Evans <dje@google.com>
Tue, 12 Nov 2013 17:43:17 +0000 (09:43 -0800)
committerDoug Evans <dje@google.com>
Tue, 12 Nov 2013 17:43:17 +0000 (09:43 -0800)
commit8943b874760d9cf35b71890a70af9866e4fab2a6
treefedeec6aebe28b1f6207b3bf4ecb5a0e3daf0628
parent6adcee1866fe6b700bc1cc5a9675479530af7205
Work around gold/15646.

* dwarf2read.c (read_index_from_section): Update comment.
(struct dw2_symtab_iterator): New member global_seen.
(dw2_symtab_iter_init): Initialize it.
(dw2_symtab_iter_next): Skip duplicate global symbols.
(dw2_expand_symtabs_matching): Ditto.
gdb/ChangeLog
gdb/dwarf2read.c