ppc32 use of %x in einfo format, typo fix
authorAlan Modra <amodra@gmail.com>
Tue, 11 Jul 2017 13:08:54 +0000 (22:38 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 11 Jul 2017 13:12:43 +0000 (22:42 +0930)
* elf32-ppc.c (ppc_elf_relocate_section): Fix typo.

bfd/ChangeLog
bfd/elf32-ppc.c

index b60bda14208cb2fe6d47af9ef32f7f3e0fc12d08..bc6cdfa87b3358e745f80ffe4f17711e2942b727 100644 (file)
@@ -1,3 +1,7 @@
+2017-07-11  Alan Modra  <amodra@gmail.com>
+
+       * elf32-ppc.c (ppc_elf_relocate_section): Fix typo.
+
 2017-07-11  Alan Modra  <amodra@gmail.com>
 
        * elf32-ppc.c (ppc_elf_relocate_section): Emit "unexpected
index 1adca7e4815153af285bcc98f9009dcfb99c854a..27d62ab00abd6fbbbd65d7c08b5a9727213c7f44 100644 (file)
@@ -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);
            }