diff options
Diffstat (limited to 'bfd/coff-sh.c')
-rw-r--r-- | bfd/coff-sh.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/bfd/coff-sh.c b/bfd/coff-sh.c index 26d296b..1c483cb 100644 --- a/bfd/coff-sh.c +++ b/bfd/coff-sh.c @@ -775,8 +775,8 @@ sh_relax_section (bfd *abfd, if (laddr >= sec->size) { /* xgettext: c-format */ - _bfd_error_handler (_("%B: 0x%lx: warning: bad R_SH_USES offset"), - abfd, (unsigned long) irel->r_vaddr); + _bfd_error_handler (_("%B: %#Lx: warning: bad R_SH_USES offset"), + abfd, irel->r_vaddr); continue; } insn = bfd_get_16 (abfd, contents + laddr); @@ -786,8 +786,8 @@ sh_relax_section (bfd *abfd, { _bfd_error_handler /* xgettext: c-format */ - (_("%B: 0x%lx: warning: R_SH_USES points to unrecognized insn 0x%x"), - abfd, (unsigned long) irel->r_vaddr, insn); + (_("%B: %#Lx: warning: R_SH_USES points to unrecognized insn %#x"), + abfd, irel->r_vaddr, insn); continue; } @@ -804,8 +804,8 @@ sh_relax_section (bfd *abfd, { _bfd_error_handler /* xgettext: c-format */ - (_("%B: 0x%lx: warning: bad R_SH_USES load offset"), - abfd, (unsigned long) irel->r_vaddr); + (_("%B: %#Lx: warning: bad R_SH_USES load offset"), + abfd, irel->r_vaddr); continue; } @@ -829,8 +829,8 @@ sh_relax_section (bfd *abfd, { _bfd_error_handler /* xgettext: c-format */ - (_("%B: 0x%lx: warning: could not find expected reloc"), - abfd, (unsigned long) paddr); + (_("%B: %#Lx: warning: could not find expected reloc"), + abfd, paddr); continue; } @@ -846,8 +846,8 @@ sh_relax_section (bfd *abfd, { _bfd_error_handler /* xgettext: c-format */ - (_("%B: 0x%lx: warning: symbol in unexpected section"), - abfd, (unsigned long) paddr); + (_("%B: %#Lx: warning: symbol in unexpected section"), + abfd, paddr); continue; } @@ -972,8 +972,8 @@ sh_relax_section (bfd *abfd, { _bfd_error_handler /* xgettext: c-format */ - (_("%B: 0x%lx: warning: could not find expected COUNT reloc"), - abfd, (unsigned long) paddr); + (_("%B: %#Lx: warning: could not find expected COUNT reloc"), + abfd, paddr); continue; } @@ -982,8 +982,8 @@ sh_relax_section (bfd *abfd, if (irelcount->r_offset == 0) { /* xgettext: c-format */ - _bfd_error_handler (_("%B: 0x%lx: warning: bad count"), - abfd, (unsigned long) paddr); + _bfd_error_handler (_("%B: %#Lx: warning: bad count"), + abfd, paddr); continue; } @@ -1354,8 +1354,8 @@ sh_relax_delete_bytes (bfd *abfd, { _bfd_error_handler /* xgettext: c-format */ - (_("%B: 0x%lx: fatal: reloc overflow while relaxing"), - abfd, (unsigned long) irel->r_vaddr); + (_("%B: %#Lx: fatal: reloc overflow while relaxing"), + abfd, irel->r_vaddr); bfd_set_error (bfd_error_bad_value); return FALSE; } @@ -2642,8 +2642,8 @@ sh_swap_insns (bfd * abfd, { _bfd_error_handler /* xgettext: c-format */ - (_("%B: 0x%lx: fatal: reloc overflow while relaxing"), - abfd, (unsigned long) irel->r_vaddr); + (_("%B: %#Lx: fatal: reloc overflow while relaxing"), + abfd, irel->r_vaddr); bfd_set_error (bfd_error_bad_value); return FALSE; } |