mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
* elf32-h8300.c (elf32_h8_relax_section): Fix typo.
This commit is contained in:
@ -765,7 +765,7 @@ elf32_h8_relax_section (abfd, sec, link_info, again)
|
|||||||
Elf_Internal_Sym *isym;
|
Elf_Internal_Sym *isym;
|
||||||
asection *sym_sec;
|
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);
|
sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx);
|
||||||
symval = (isym->st_value
|
symval = (isym->st_value
|
||||||
+ sym_sec->output_section->vma
|
+ sym_sec->output_section->vma
|
||||||
|
Reference in New Issue
Block a user