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.
This commit is contained in:
Yuri Chornoivan 2019-01-21 12:39:24 +00:00 committed by Nick Clifton
parent fc65c7dbe0
commit acef8081ec
5 changed files with 22 additions and 6 deletions

View 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

View 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);

View 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;
}

View 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.

View 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