summaryrefslogtreecommitdiff
path: root/bfd/elf32-h8300.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2002-09-11 19:19:11 +0000
committerJeff Law <law@redhat.com>2002-09-11 19:19:11 +0000
commita48ac380a2470f905bbbc6f7c6a20ac6740b75f2 (patch)
treece5deaf05ab8acb63b3f430a881c9d583962ea68 /bfd/elf32-h8300.c
parent0034b8b9c565498e7ac8542782eea47518e9084f (diff)
downloadgdb-a48ac380a2470f905bbbc6f7c6a20ac6740b75f2.tar.gz
* elf32-h8300.c (elf32_h8_relax_section): Fix typo.
Diffstat (limited to 'bfd/elf32-h8300.c')
-rw-r--r--bfd/elf32-h8300.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-h8300.c b/bfd/elf32-h8300.c
index 48e2960998d..c1c77ec0b43 100644
--- a/bfd/elf32-h8300.c
+++ b/bfd/elf32-h8300.c
@@ -765,7 +765,7 @@ elf32_h8_relax_section (abfd, sec, link_info, again)
Elf_Internal_Sym *isym;
asection *sym_sec;
- isym = isymbuf + ELF64_R_SYM (irel->r_info);
+ isym = isymbuf + ELF32_R_SYM (irel->r_info);
sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx);
symval = (isym->st_value
+ sym_sec->output_section->vma