aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog1
-rw-r--r--bfd/elf32-arc.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 5f7fcf3..f147806 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -2,6 +2,7 @@
* elf32-nds32.c (nds32_elf_relax_longjump3): Remove redundant
assignment.
+ * elf32-arc.c (elf_arc_relocate_section): Likewise.
2018-02-09 Eric Botcazou <ebotcazou@adacore.com>
diff --git a/bfd/elf32-arc.c b/bfd/elf32-arc.c
index 5921cc2..1ad9e3e 100644
--- a/bfd/elf32-arc.c
+++ b/bfd/elf32-arc.c
@@ -1534,7 +1534,6 @@ elf_arc_relocate_section (bfd * output_bfd,
{
_bfd_clear_contents (howto, input_bfd, input_section,
contents + rel->r_offset);
- rel->r_offset = rel->r_offset;
rel->r_info = 0;
rel->r_addend = 0;