aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-m10200.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf-m10200.c')
-rw-r--r--bfd/elf-m10200.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/bfd/elf-m10200.c b/bfd/elf-m10200.c
index 9c1e4eb..9cca778 100644
--- a/bfd/elf-m10200.c
+++ b/bfd/elf-m10200.c
@@ -795,14 +795,8 @@ mn10200_elf_relax_section (bfd *abfd,
if (ELF32_R_TYPE (irel->r_info) == (int) R_MN10200_PCREL8)
{
Elf_Internal_Rela *nrel;
- bfd_vma value = symval;
unsigned char code;
- /* Deal with pc-relative gunk. */
- value -= (sec->output_section->vma + sec->output_offset);
- value -= (irel->r_offset + 1);
- value += irel->r_addend;
-
/* Do nothing if this reloc is the last byte in the section. */
if (irel->r_offset == sec->size)
continue;