Fix spelling mistakes in BFD library.
authorYuri Chornoivan <yurchor@ukr.net>
Mon, 21 Jan 2019 12:39:24 +0000 (12:39 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 21 Jan 2019 12:39:24 +0000 (12:39 +0000)
PR 24108
bfd * elf32-nds32.c (nds32_relocate_section): Add space between words
in error message.
* elfnn-riscv.c (riscv_version_mismatch): Fix spelling mistake in
error message.
(riscv_i_or_e_p): Likewise.
(riscv_merge_arch_attr_info): Likewise.

ld * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Update
expected error message.

bfd/ChangeLog
bfd/elf32-nds32.c
bfd/elfnn-riscv.c
ld/ChangeLog
ld/testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d

index 7f129c0..0c06ee6 100644 (file)
@@ -1,3 +1,13 @@
+2019-01-21  Yuri Chornoivan  <yurchor@ukr.net>
+
+       PR 24108
+       * elf32-nds32.c (nds32_relocate_section): Add space between words
+       in error message.
+       * elfnn-riscv.c (riscv_version_mismatch): Fix spelling mistake in
+       error message.
+       (riscv_i_or_e_p): Likewise.
+       (riscv_merge_arch_attr_info): Likewise.
+
 2019-01-19  Nick Clifton  <nickc@redhat.com>
 
        * version.m4: Reset to 2.32.51
index b8a6147..d9a429d 100644 (file)
@@ -5636,7 +5636,7 @@ nds32_elf_relocate_section (bfd *            output_bfd ATTRIBUTE_UNUSED,
                      if (h->dynindx == -1)
                        {
                          _bfd_error_handler
-                           (_("%pB: relocation %s against `%s' can not be used when"
+                           (_("%pB: relocation %s against `%s' can not be used when "
                               "making a shared object; recompile with -fPIC"),
                             input_bfd, nds32_elf_howto_table[r_type].name, h->root.root.string);
                          bfd_set_error (bfd_error_bad_value);
index 69cadaa..0a0ceb7 100644 (file)
@@ -2708,7 +2708,7 @@ riscv_version_mismatch (bfd *ibfd,
                        struct riscv_subset_t *out)
 {
   _bfd_error_handler
-    (_("error: %pB: Mis-matched ISA version for '%s' exetension. "
+    (_("error: %pB: Mis-matched ISA version for '%s' extension. "
        "%d.%d vs %d.%d"),
        ibfd, in->name,
        in->major_version, in->minor_version,
@@ -2726,8 +2726,8 @@ riscv_i_or_e_p (bfd *ibfd,
       && (strcasecmp (subset->name, "i") != 0))
     {
       _bfd_error_handler
-       (_("error: %pB: corrupted ISA string '%s'."
-          "first letter should be 'i' or 'e' but got '%s'."),
+       (_("error: %pB: corrupted ISA string '%s'. "
+          "First letter should be 'i' or 'e' but got '%s'."),
           ibfd, arch, subset->name);
       return FALSE;
     }
@@ -2951,7 +2951,7 @@ riscv_merge_arch_attr_info (bfd *ibfd, char *in_arch, char *out_arch)
   if (xlen_in != ARCH_SIZE)
     {
       _bfd_error_handler
-       (_("error: %pB: Unspported XLEN (%u), you might"
+       (_("error: %pB: Unsupported XLEN (%u), you might be "
           "using wrong emulation."), ibfd, xlen_in);
       return NULL;
     }
index 2b1b1e9..5db9f7c 100644 (file)
@@ -1,3 +1,9 @@
+2019-01-21  Nick Clifton  <nickc@redhat.com>
+
+       PR 24108
+       * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Update
+       expected error message.
+
 2019-01-19  Nick Clifton  <nickc@redhat.com>
 
        * configure: Regenerate.
index 564687d..c77f80b 100644 (file)
@@ -2,4 +2,4 @@
 #source: attr-merge-arch-failed-01b.s
 #as: -march-attr
 #ld: -r -melf32lriscv
-#error: Mis-matched ISA version for 'm' exetension. 3.0 vs 2.0
+#error: Mis-matched ISA version for 'm' extension. 3.0 vs 2.0