From 579f0281f38afffe2ae5692f6ce61598c5dbfe8c Mon Sep 17 00:00:00 2001 From: Yuri Chornoivan Date: Tue, 6 Jul 2021 14:56:05 +0100 Subject: [PATCH] PR 28053: Fix spelling mistakes: usupported -> unsupported and relocatation -> relocation. --- bfd/coff-rs6000.c | 2 +- bfd/coff64-rs6000.c | 2 +- gas/config/tc-riscv.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c index 45ba9b3cb00..9d7571908dd 100644 --- a/bfd/coff-rs6000.c +++ b/bfd/coff-rs6000.c @@ -3639,7 +3639,7 @@ xcoff_ppc_relocate_section (bfd *output_bfd, default: _bfd_error_handler - (_("%pB: relocatation (%d) at (0x%" BFD_VMA_FMT "x) has wrong" + (_("%pB: relocation (%d) at (0x%" BFD_VMA_FMT "x) has wrong" " r_rsize (0x%x)\n"), input_bfd, rel->r_type, rel->r_vaddr, rel->r_size); return false; diff --git a/bfd/coff64-rs6000.c b/bfd/coff64-rs6000.c index 9e9f9c2992f..e66d75f3713 100644 --- a/bfd/coff64-rs6000.c +++ b/bfd/coff64-rs6000.c @@ -1570,7 +1570,7 @@ xcoff64_ppc_relocate_section (bfd *output_bfd, default: _bfd_error_handler - (_("%pB: relocatation (%d) at (0x%" BFD_VMA_FMT "x) has wrong" + (_("%pB: relocation (%d) at (0x%" BFD_VMA_FMT "x) has wrong" " r_rsize (0x%x)\n"), input_bfd, rel->r_type, rel->r_vaddr, rel->r_size); return false; diff --git a/gas/config/tc-riscv.c b/gas/config/tc-riscv.c index 70cbc8190fe..df37579c843 100644 --- a/gas/config/tc-riscv.c +++ b/gas/config/tc-riscv.c @@ -1307,7 +1307,7 @@ append_insn (struct riscv_cl_insn *ip, expressionS *address_expr, { howto = bfd_reloc_type_lookup (stdoutput, reloc_type); if (howto == NULL) - as_bad (_("internal: usupported RISC-V relocation number %d"), + as_bad (_("internal: unsupported RISC-V relocation number %d"), reloc_type); ip->fixp = fix_new_exp (ip->frag, ip->where, -- 2.30.2