projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6444b19
)
Fix compile time warning: bfd/elf32-arc.c:1537]: (warning) Redundant assignment of...
author
Nick Clifton
<nickc@redhat.com>
Mon, 12 Feb 2018 11:57:41 +0000
(11:57 +0000)
committer
Nick Clifton
<nickc@redhat.com>
Mon, 12 Feb 2018 11:57:41 +0000
(11:57 +0000)
* elf32-arc.c (elf_arc_relocate_section): Remove redundant
assignment.
bfd/ChangeLog
patch
|
blob
|
history
bfd/elf32-arc.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index 5f7fcf3cdeb6104224c64002c3c55590bd2dc2cd..f1478064a4396e68f99bcfaa316acd2067c2cf17 100644
(file)
--- 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 5921cc25259ef6ac54882fc92467dd739a4b4aa0..1ad9e3ee91d50f9c2f47662a09cb73f4e083b63e 100644
(file)
--- 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;