2002-09-22 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 22 Sep 2002 22:32:49 +0000 (22:32 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 22 Sep 2002 22:32:49 +0000 (22:32 +0000)
* elf64-alpha.c (elf64_alpha_merge_ind_symbols): Don't merge
the relocation count between different .reloc sections.

bfd/ChangeLog
bfd/elf64-alpha.c

index 6d449d1..a3e243f 100644 (file)
@@ -1,3 +1,8 @@
+2002-09-22  H.J. Lu <hjl@gnu.org>
+
+       * elf64-alpha.c (elf64_alpha_merge_ind_symbols): Don't merge
+       the relocation count between different .reloc sections.
+
 2002-09-21  Alan Modra  <amodra@bigpond.net.au>
 
        * elf32-ppc.c (ppc_elf_relocate_section): Allow ".sbss.*" and
index af99b35..e1d095d 100644 (file)
@@ -3403,7 +3403,7 @@ elf64_alpha_merge_ind_symbols (hi, dummy)
        {
          rin = ri->next;
          for (rs = rsh; rs ; rs = rs->next)
-           if (ri->rtype == rs->rtype)
+           if (ri->rtype == rs->rtype && ri->srel == rs->srel)
              {
                rs->count += ri->count;
                goto found_reloc;