aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2006-05-11 15:55:40 +0000
committerH.J. Lu <hjl.tools@gmail.com>2006-05-11 15:55:40 +0000
commit83180ade02b93262e245205c32d54443dbfba6e6 (patch)
treecfbdbd2a2e004006b09ababbcbc43539382a2334 /bfd/elflink.c
parentb6895b4f375bfb1de5a8d33b3af600c5d92314d8 (diff)
downloadgdb-83180ade02b93262e245205c32d54443dbfba6e6.zip
gdb-83180ade02b93262e245205c32d54443dbfba6e6.tar.gz
gdb-83180ade02b93262e245205c32d54443dbfba6e6.tar.bz2
2006-05-11 Michael Matz <matz@suse.de>
* elflink.c (match_group_member): Correctly iterate group members.
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r--bfd/elflink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 7df3f6e..a1632cc 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -6782,6 +6782,7 @@ match_group_member (asection *sec, asection *group)
if (bfd_elf_match_symbols_in_sections (s, sec))
return s;
+ s = elf_next_in_group (s);
if (s == first)
break;
}