aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorYuri Chornoivan <yurchor@ukr.net>2019-01-21 12:39:24 +0000
committerNick Clifton <nickc@redhat.com>2019-01-21 12:39:24 +0000
commitacef8081ec2ce5dc387ee55a04f75fb27ade94ec (patch)
treeb530891641dd81ccc96b3a70c150d1269d06841a /bfd
parentfc65c7dbe0607dfb1fc3d1019c46df73854cc896 (diff)
downloadbinutils-acef8081ec2ce5dc387ee55a04f75fb27ade94ec.zip
binutils-acef8081ec2ce5dc387ee55a04f75fb27ade94ec.tar.gz
binutils-acef8081ec2ce5dc387ee55a04f75fb27ade94ec.tar.bz2
Fix spelling mistakes in BFD library.
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.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog10
-rw-r--r--bfd/elf32-nds32.c2
-rw-r--r--bfd/elfnn-riscv.c8
3 files changed, 15 insertions, 5 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7f129c0..0c06ee6 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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
diff --git a/bfd/elf32-nds32.c b/bfd/elf32-nds32.c
index b8a6147..d9a429d 100644
--- a/bfd/elf32-nds32.c
+++ b/bfd/elf32-nds32.c
@@ -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);
diff --git a/bfd/elfnn-riscv.c b/bfd/elfnn-riscv.c
index 69cadaa..0a0ceb7 100644
--- a/bfd/elfnn-riscv.c
+++ b/bfd/elfnn-riscv.c
@@ -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;
}