From 82988bffc5ab9efadd2e0207d18c2ed2b3974f5e Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sun, 22 Sep 2002 22:32:49 +0000 Subject: [PATCH] 2002-09-22 H.J. Lu * elf64-alpha.c (elf64_alpha_merge_ind_symbols): Don't merge the relocation count between different .reloc sections. --- bfd/ChangeLog | 5 +++++ bfd/elf64-alpha.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 6d449d164e..a3e243f223 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2002-09-22 H.J. Lu + + * elf64-alpha.c (elf64_alpha_merge_ind_symbols): Don't merge + the relocation count between different .reloc sections. + 2002-09-21 Alan Modra * elf32-ppc.c (ppc_elf_relocate_section): Allow ".sbss.*" and diff --git a/bfd/elf64-alpha.c b/bfd/elf64-alpha.c index af99b351bd..e1d095d523 100644 --- a/bfd/elf64-alpha.c +++ b/bfd/elf64-alpha.c @@ -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;