summaryrefslogtreecommitdiffstats
path: root/bfd/elf64-alpha.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2002-09-22 22:32:49 +0000
committerH.J. Lu <hjl.tools@gmail.com>2002-09-22 22:32:49 +0000
commit82988bffc5ab9efadd2e0207d18c2ed2b3974f5e (patch)
tree51ec54a936abf59366ec82ca74bae52f8242e934 /bfd/elf64-alpha.c
parent53cb0458d6870af83b2bc9fab8738a29b64f702e (diff)
downloadppe42-binutils-82988bffc5ab9efadd2e0207d18c2ed2b3974f5e.tar.gz
ppe42-binutils-82988bffc5ab9efadd2e0207d18c2ed2b3974f5e.zip
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.
Diffstat (limited to 'bfd/elf64-alpha.c')
-rw-r--r--bfd/elf64-alpha.c2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud