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 6d449d164ef1f82556a3b762a9691983b269f04e..a3e243f22315dfcf0876371bbe71c2ab011b6f46 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 af99b351bd63f0bc0ad1fef387f473c07a5b840e..e1d095d523125c54d7ebf43ac15013570297911e 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;