aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorKuan-Lin Chen <kuanlinchentw@gmail.com>2018-01-09 16:04:58 +0800
committerKuan-Lin Chen <kuanlinchentw@gmail.com>2018-01-09 16:05:33 +0800
commit6cef73f96f58ca3f0e0b2f594b324602c7590611 (patch)
tree5b686bb57015c1270fcb1fc802b568c44654c35e /bfd
parent7615ca1dc941bb9f225a1c50df7fdd8d31afc9e8 (diff)
downloadgdb-6cef73f96f58ca3f0e0b2f594b324602c7590611.zip
gdb-6cef73f96f58ca3f0e0b2f594b324602c7590611.tar.gz
gdb-6cef73f96f58ca3f0e0b2f594b324602c7590611.tar.bz2
PR22662, nds32: Fix a typographical error.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-nds32.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7803ef8..a174a4c 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2017-09-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
+
+ PR 22662
+ * elf32-nds32.c (nds32_elf_relax_loadstore): Fix a typographical error.
+
2018-01-03 John Baldwin <jhb@FreeBSD.org>
* elf.c (elfcore_grok_freebsd_note): Handle
diff --git a/bfd/elf32-nds32.c b/bfd/elf32-nds32.c
index 043d7ac..5ceb0a0 100644
--- a/bfd/elf32-nds32.c
+++ b/bfd/elf32-nds32.c
@@ -10606,7 +10606,7 @@ nds32_elf_relax_loadstore (struct bfd_link_info *link_info, bfd *abfd,
break;
if (range_type == NDS32_LOADSTORE_FLOAT_S
- || range_type == NDS32_LOADSTORE_FLOAT_S)
+ || range_type == NDS32_LOADSTORE_FLOAT_D)
{
range_l = sdata_range[0][0];
range_h = sdata_range[0][1];