aboutsummaryrefslogtreecommitdiff
path: root/bfd
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
parent53cb0458d6870af83b2bc9fab8738a29b64f702e (diff)
downloadgdb-82988bffc5ab9efadd2e0207d18c2ed2b3974f5e.zip
gdb-82988bffc5ab9efadd2e0207d18c2ed2b3974f5e.tar.gz
gdb-82988bffc5ab9efadd2e0207d18c2ed2b3974f5e.tar.bz2
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')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf64-alpha.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 6d449d1..a3e243f 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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
diff --git a/bfd/elf64-alpha.c b/bfd/elf64-alpha.c
index af99b35..e1d095d 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;