aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-nds32.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2018-02-12 11:54:48 +0000
committerNick Clifton <nickc@redhat.com>2018-02-12 11:54:48 +0000
commit6444b19b244d7c84537fc796005ef756917135ae (patch)
tree763836accabb1a265832a6b098447508da8109f0 /bfd/elf32-nds32.c
parent94fe5757db7a4dbb33743b87bf748e906444973b (diff)
downloadgdb-6444b19b244d7c84537fc796005ef756917135ae.zip
gdb-6444b19b244d7c84537fc796005ef756917135ae.tar.gz
gdb-6444b19b244d7c84537fc796005ef756917135ae.tar.bz2
oops - actually remove the assignment this time: bfd/elf32-nds32.c:9693]: (warning) Redundant assignment of 'irel->r_addend' to itself.
Diffstat (limited to 'bfd/elf32-nds32.c')
-rw-r--r--bfd/elf32-nds32.c1
1 files changed, 0 insertions, 1 deletions
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);
}