aboutsummaryrefslogtreecommitdiff
path: root/bfd
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
parentb6895b4f375bfb1de5a8d33b3af600c5d92314d8 (diff)
downloadfsf-binutils-gdb-83180ade02b93262e245205c32d54443dbfba6e6.zip
fsf-binutils-gdb-83180ade02b93262e245205c32d54443dbfba6e6.tar.gz
fsf-binutils-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')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elflink.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 9f9ba30..c64ae21 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2006-05-11 Michael Matz <matz@suse.de>
+
+ * elflink.c (match_group_member): Correctly iterate group
+ members.
+
2006-05-11 Paul Brook <paul@codesourcery.com>
* elf32-arm.c (elf32_arm_reloc_map): Add MOVW and MOVT relocs.
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;
}