X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Felf32-s390.c;h=f608fb0aa6dbefaa88b6ca9a7e2ef2439bd114ff;hb=f8df10f4f595488c4b6a8e49ffc99721d5aefdba;hp=2153a4c5e84190c3e241aedbd699faedbbd1c101;hpb=c6843df52be70708585dacee4a13df2c20fc583a;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/elf32-s390.c b/bfd/elf32-s390.c index 2153a4c5e8..f608fb0aa6 100644 --- a/bfd/elf32-s390.c +++ b/bfd/elf32-s390.c @@ -1664,9 +1664,7 @@ elf_s390_relocate_section (output_bfd, info, input_bfd, input_section, { sym = local_syms + r_symndx; sec = local_sections[r_symndx]; - relocation = (sec->output_section->vma - + sec->output_offset - + sym->st_value); + relocation = _bfd_elf_rela_local_sym (output_bfd, sym, sec, rel); } else {