aboutsummaryrefslogtreecommitdiff
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
commit32ac2c9a7574ff4eafe3486dccff04197f0eeeae (patch)
treed196947aadf0ccbebe6089f3c70147a988bc30cf /bfd/elf32-h8300.c
parent004d9cafa49ee64b06466ddaad223a54f04f102d (diff)
downloadgdb-32ac2c9a7574ff4eafe3486dccff04197f0eeeae.zip
gdb-32ac2c9a7574ff4eafe3486dccff04197f0eeeae.tar.gz
gdb-32ac2c9a7574ff4eafe3486dccff04197f0eeeae.tar.bz2
* 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 48e2960..c1c77ec 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