PR22662, nds32: Fix a typographical error.
authorKuan-Lin Chen <kuanlinchentw@gmail.com>
Tue, 9 Jan 2018 08:04:58 +0000 (16:04 +0800)
committerKuan-Lin Chen <kuanlinchentw@gmail.com>
Tue, 9 Jan 2018 08:05:33 +0000 (16:05 +0800)
bfd/ChangeLog
bfd/elf32-nds32.c

index 7803ef88263a6d63d6a0c520c565a1764ddabddd..a174a4cfeb341d2941c8bb8b3912c8638f4a8ea5 100644 (file)
@@ -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
index 043d7acf598a1596c99de8164e0579b945fec561..5ceb0a0b26f7b655de2ba773f65e8cc3ecb76693 100644 (file)
@@ -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];