diff options
author | Alan Modra <amodra@gmail.com> | 2017-07-11 22:38:54 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-07-11 22:42:43 +0930 |
commit | e3fbc3da1342714b4943300a5a590b73f00acf08 (patch) | |
tree | 7cd4eb949b106f9770b804bbec7eee2b81e75ce5 | |
parent | 70391b29cfc701f99b21b76100dc69531bf9eeec (diff) | |
download | gdb-e3fbc3da1342714b4943300a5a590b73f00acf08.zip gdb-e3fbc3da1342714b4943300a5a590b73f00acf08.tar.gz gdb-e3fbc3da1342714b4943300a5a590b73f00acf08.tar.bz2 |
ppc32 use of %x in einfo format, typo fix
* elf32-ppc.c (ppc_elf_relocate_section): Fix typo.
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/elf32-ppc.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b60bda1..bc6cdfa 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,9 @@ 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 instruction" error using _bfd_error_handler, not einfo. diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index 1adca7e..27d62ab 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); } |