summaryrefslogtreecommitdiff
path: root/bfd/elf64-alpha.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2002-09-22 22:32:49 +0000
committerH.J. Lu <hjl@lucon.org>2002-09-22 22:32:49 +0000
commit561c24956792ec0c6c59b95db2ff0ce23f1c7843 (patch)
tree91c441ce93b78359986daf4988f97a1807d4f8a4 /bfd/elf64-alpha.c
parent3773146f2d9e1eb3edb5ea359d4b9473f702980c (diff)
downloadgdb-561c24956792ec0c6c59b95db2ff0ce23f1c7843.tar.gz
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 af99b351bd6..e1d095d5231 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;