2006-05-11 Michael Matz <matz@suse.de>
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 11 May 2006 15:55:40 +0000 (15:55 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 11 May 2006 15:55:40 +0000 (15:55 +0000)
* elflink.c (match_group_member): Correctly iterate group
members.

bfd/ChangeLog
bfd/elflink.c

index 9f9ba30bcac3b343a78724825acd24a7269311f0..c64ae218c1203e03fc9512babaf7e1dd5c6aa737 100644 (file)
@@ -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.
index 7df3f6e31321450f1dcae5fae0b38b4cecfef013..a1632cc3b1c98f2b4337143e176806d0ec8583a2 100644 (file)
@@ -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;
     }