From: Alan Modra Date: Tue, 11 Jul 2017 13:08:54 +0000 (+0930) Subject: ppc32 use of %x in einfo format, typo fix X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e3fbc3da1342714b4943300a5a590b73f00acf08;p=binutils-gdb.git ppc32 use of %x in einfo format, typo fix * elf32-ppc.c (ppc_elf_relocate_section): Fix typo. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b60bda14208..bc6cdfa87b3 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2017-07-11 Alan Modra + + * elf32-ppc.c (ppc_elf_relocate_section): Fix typo. + 2017-07-11 Alan Modra * elf32-ppc.c (ppc_elf_relocate_section): Emit "unexpected diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index 1adca7e4815..27d62ab00ab 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -8286,7 +8286,7 @@ ppc_elf_relocate_section (bfd *output_bfd, else _bfd_error_handler /* xgettext:c-format */ - (_("%B(%A+#Lx): error: %s with unexpected instruction %#x"), + (_("%B(%A+%#Lx): error: %s with unexpected instruction %#x"), input_bfd, input_section, rel->r_offset, "R_PPC_ADDR16_HA", insn); } @@ -8321,7 +8321,7 @@ ppc_elf_relocate_section (bfd *output_bfd, else _bfd_error_handler /* xgettext:c-format */ - (_("%B(%A+#Lx): error: %s with unexpected instruction %#x"), + (_("%B(%A+%#Lx): error: %s with unexpected instruction %#x"), input_bfd, input_section, rel->r_offset, "R_PPC_ADDR16_LO", insn); }