This is the mail archive of the binutils@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]

PR22662, nds32: Fix a typographical error.


Fix a typographical error in nds32_elf_relax_loadstore.

    PR22662, nds32: Fix a typographical error.
---
 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];


-- 
Best regards,
Kuan-Lin Chen.
kuanlinchentw@gmail.com


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