This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] oops - actually remove the assignment this time: bfd/elf32-nds32.c:9693]: (warning) Redundant assign
- From: Nick Clifton <nickc at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 12 Feb 2018 11:55:33 -0000
- Subject: [binutils-gdb] oops - actually remove the assignment this time: bfd/elf32-nds32.c:9693]: (warning) Redundant assign
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6444b19b244d7c84537fc796005ef756917135ae
commit 6444b19b244d7c84537fc796005ef756917135ae
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Feb 12 11:54:48 2018 +0000
oops - actually remove the assignment this time: bfd/elf32-nds32.c:9693]: (warning) Redundant assignment of 'irel->r_addend' to itself.
Diff:
---
bfd/elf32-nds32.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/bfd/elf32-nds32.c b/bfd/elf32-nds32.c
index 5ceb0a0..541ec5d 100644
--- a/bfd/elf32-nds32.c
+++ b/bfd/elf32-nds32.c
@@ -9690,7 +9690,6 @@ nds32_elf_relax_longjump3 (bfd *abfd, asection *sec, Elf_Internal_Rela *irel,
else
{
irel->r_info = ELF32_R_INFO (ELF32_R_SYM (irel->r_info), reloc);
- irel->r_addend = irel->r_addend;
hi_irelfn->r_info = ELF32_R_INFO (ELF32_R_SYM (hi_irelfn->r_info),
cond_reloc);
}