/* SuperH SH64-specific support for 32-bit ELF
- Copyright (C) 2000-2017 Free Software Foundation, Inc.
+ Copyright (C) 2000-2018 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
if (bfd_get_arch_size (ibfd) == 32
&& bfd_get_arch_size (obfd) == 64)
/* xgettext:c-format */
- msg = _("%B: compiled as 32-bit object and %B is 64-bit");
+ msg = _("%pB: compiled as 32-bit object and %pB is 64-bit");
else if (bfd_get_arch_size (ibfd) == 64
&& bfd_get_arch_size (obfd) == 32)
/* xgettext:c-format */
- msg = _("%B: compiled as 64-bit object and %B is 32-bit");
+ msg = _("%pB: compiled as 64-bit object and %pB is 32-bit");
else
/* xgettext:c-format */
- msg = _("%B: object size does not match that of target %B");
+ msg = _("%pB: object size does not match that of target %pB");
_bfd_error_handler (msg, ibfd, obfd);
bfd_set_error (bfd_error_wrong_format);
else if ((new_flags & EF_SH_MACH_MASK) != EF_SH5)
{
_bfd_error_handler
- ("%B: uses non-SH64 instructions while previous modules"
+ ("%pB: uses non-SH64 instructions while previous modules"
" use SH64 instructions",
ibfd);
bfd_set_error (bfd_error_bad_value);
{
/* Make sure we don't get confused on invalid input. */
_bfd_error_handler
- (_("%B: encountered datalabel symbol in input"), abfd);
+ (_("%pB: encountered datalabel symbol in input"), abfd);
bfd_set_error (bfd_error_bad_value);
return FALSE;
}
if ((insn & SHMEDIA_PTB_BIT) != 0)
{
_bfd_error_handler
- (_("%B: GAS error: unexpected PTB insn with R_SH_PT_16"),
+ (_("%pB: GAS error: unexpected PTB insn with R_SH_PT_16"),
input_section->owner);
return FALSE;
}
{
_bfd_error_handler
/* xgettext:c-format */
- (_("%B: error: unaligned relocation type %d at %#Lx reloc %#Lx"),
+ (_("%pB: error: unaligned relocation type %d "
+ "at %#" PRIx64 " reloc %#" PRIx64),
input_section->owner, (int) ELF32_R_TYPE (rel->r_info),
- rel->r_offset, *relocation);
+ (uint64_t) rel->r_offset, (uint64_t) *relocation);
return FALSE;
}
{
bfd_set_error (bfd_error_file_truncated);
_bfd_error_handler
- (_("%B: could not write out added .cranges entries"), abfd);
+ (_("%pB: could not write out added .cranges entries"), abfd);
}
}
{
bfd_set_error (bfd_error_file_truncated);
_bfd_error_handler
- (_("%B: could not write out sorted .cranges entries"), abfd);
+ (_("%pB: could not write out sorted .cranges entries"), abfd);
}
}
}