This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] PR22662, nds32: Fix a typographical error.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6cef73f96f58ca3f0e0b2f594b324602c7590611

commit 6cef73f96f58ca3f0e0b2f594b324602c7590611
Author: Kuan-Lin Chen <kuanlinchentw@gmail.com>
Date:   Tue Jan 9 16:04:58 2018 +0800

    PR22662, nds32: Fix a typographical error.

Diff:
---
 bfd/ChangeLog     | 5 +++++
 bfd/elf32-nds32.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

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];


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]