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.
This commit is contained in:
H.J. Lu 2002-09-22 22:32:49 +00:00
parent 53cb0458d6
commit 82988bffc5
2 changed files with 6 additions and 1 deletions

View 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

View 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;