diff options
Diffstat (limited to 'bfd/elf32-i370.c')
-rw-r--r-- | bfd/elf32-i370.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bfd/elf32-i370.c b/bfd/elf32-i370.c index 3f9c9c1e21..3b9ad347e6 100644 --- a/bfd/elf32-i370.c +++ b/bfd/elf32-i370.c @@ -1367,9 +1367,8 @@ i370_elf_relocate_section (output_bfd, info, input_bfd, input_section, sec = local_sections[r_symndx]; sym_name = "<local symbol>"; - relocation = (sec->output_section->vma - + sec->output_offset - + sym->st_value); + relocation = _bfd_elf_rela_local_sym (output_bfd, sym, sec, rel); + addend = rel->r_addend; } else { |