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
commit7a818463c1942aa86185acd7c9dfc390bef0de40 (patch)
tree54afabddb57e0fc3dd9e1281baa50e2ffa2163a6 /bfd/elf32-h8300.c
parentf34ba1ba57942184cadd03a6b16ac2fd10fed2be (diff)
downloadbinutils-redhat-7a818463c1942aa86185acd7c9dfc390bef0de40.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 48e2960998..c1c77ec0b4 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