diff options
Diffstat (limited to 'bfd/elf32-bfin.c')
-rw-r--r-- | bfd/elf32-bfin.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/bfd/elf32-bfin.c b/bfd/elf32-bfin.c index b3e09bd..09e50ce 100644 --- a/bfd/elf32-bfin.c +++ b/bfd/elf32-bfin.c @@ -1578,9 +1578,9 @@ bfin_relocate_section (bfd * output_bfd, { _bfd_error_handler /* xgettext:c-format */ - (_("%B(%A+0x%lx): unresolvable relocation against symbol `%s'"), + (_("%B(%A+%#Lx): unresolvable relocation against symbol `%s'"), input_bfd, - input_section, (long) rel->r_offset, h->root.root.string); + input_section, rel->r_offset, h->root.root.string); return FALSE; } @@ -1609,9 +1609,8 @@ bfin_relocate_section (bfd * output_bfd, { _bfd_error_handler /* xgettext:c-format */ - (_("%B(%A+0x%lx): reloc against `%s': error %d"), - input_bfd, input_section, - (long) rel->r_offset, name, (int) r); + (_("%B(%A+%#Lx): reloc against `%s': error %d"), + input_bfd, input_section, rel->r_offset, name, (int) r); return FALSE; } } @@ -2703,7 +2702,7 @@ bfinfdpic_relocate_section (bfd * output_bfd, { _bfd_error_handler /* xgettext:c-format */ - (_("%B: relocation at `%A+0x%x' references symbol `%s' with nonzero addend"), + (_("%B: relocation at `%A+%#Lx' references symbol `%s' with nonzero addend"), input_bfd, input_section, rel->r_offset, name); return FALSE; @@ -4874,8 +4873,8 @@ bfinfdpic_check_relocs (bfd *abfd, struct bfd_link_info *info, bad_reloc: _bfd_error_handler /* xgettext:c-format */ - (_("%B: unsupported relocation type %i"), - abfd, ELF32_R_TYPE (rel->r_info)); + (_("%B: unsupported relocation type %d"), + abfd, (int) ELF32_R_TYPE (rel->r_info)); return FALSE; } } @@ -4949,7 +4948,7 @@ elf32_bfin_merge_private_bfd_data (bfd *ibfd, struct bfd_link_info *info) if (0) #endif _bfd_error_handler - ("old_flags = 0x%.8lx, new_flags = 0x%.8lx, init = %s, filename = %B", + ("old_flags = 0x%.8x, new_flags = 0x%.8x, init = %s, filename = %B", old_flags, new_flags, elf_flags_init (obfd) ? "yes" : "no", ibfd); if (!elf_flags_init (obfd)) /* First call, no flags set. */ |