diff options
Diffstat (limited to 'bfd/elf32-ppc.c')
-rw-r--r-- | bfd/elf32-ppc.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index c9db21c..7d6196c 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -8161,8 +8161,9 @@ ppc_elf_relocate_section (bfd *output_bfd, else _bfd_error_handler /* xgettext:c-format */ - (_("%pB(%pA+%#Lx): error: %s with unexpected instruction %#x"), - input_bfd, input_section, rel->r_offset, + (_("%pB(%pA+%#" PRIx64 "): error: " + "%s with unexpected instruction %#x"), + input_bfd, input_section, (uint64_t) rel->r_offset, "R_PPC_ADDR16_HA", insn); } else if (r_type == R_PPC_ADDR16_LO) @@ -8196,8 +8197,9 @@ ppc_elf_relocate_section (bfd *output_bfd, else _bfd_error_handler /* xgettext:c-format */ - (_("%pB(%pA+%#Lx): error: %s with unexpected instruction %#x"), - input_bfd, input_section, rel->r_offset, + (_("%pB(%pA+%#" PRIx64 "): error: " + "%s with unexpected instruction %#x"), + input_bfd, input_section, (uint64_t) rel->r_offset, "R_PPC_ADDR16_LO", insn); } } |