* elf.c (_bfd_elf_rela_local_sym): New.
[deliverable/binutils-gdb.git] / bfd / elf32-s390.c
index 2153a4c5e84190c3e241aedbd699faedbbd1c101..f608fb0aa6dbefaa88b6ca9a7e2ef2439bd114ff 100644 (file)
@@ -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
        {
This page took 0.028188 seconds and 4 git commands to generate.