mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-23 13:21:43 +08:00
Fix compile time warning: bfd/elf32-arc.c:1537]: (warning) Redundant assignment of 'rel->r_offset' to itself.
* elf32-arc.c (elf_arc_relocate_section): Remove redundant assignment.
This commit is contained in:
parent
6444b19b24
commit
0b8683b7eb
@ -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>
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user