&& (val & ((((bfd_signed_vma) 1) << howto->rightshift) - 1)))
{
(*_bfd_error_handler) (_("%pB: relocation %s right shift %d error 0x%lx"),
- abfd, howto->name, howto->rightshift, val);
+ abfd, howto->name, howto->rightshift, (long) val);
bfd_set_error (bfd_error_bad_value);
return false;
}
if ((val & ~mask) && ((val & ~mask) != ~mask))
{
(*_bfd_error_handler) (_("%pB: relocation %s overflow 0x%lx"),
- abfd, howto->name, val);
+ abfd, howto->name, (long) val);
bfd_set_error (bfd_error_bad_value);
return false;
}
if ((val & ~mask) && ((val & ~mask) != ~mask))
{
(*_bfd_error_handler) (_("%pB: relocation %s overflow 0x%lx"),
- abfd, howto->name, val);
+ abfd, howto->name, (long) val);
bfd_set_error (bfd_error_bad_value);
return false;
}
if ((val & ~mask) && ((val & ~mask) != ~mask))
{
(*_bfd_error_handler) (_("%pB: relocation %s overflow 0x%lx"),
- abfd, howto->name, val);
+ abfd, howto->name, (long) val);
bfd_set_error (bfd_error_bad_value);
return false;
}
if ((val & ~mask) && ((val & ~mask) != ~mask))
{
(*_bfd_error_handler) (_("%pB: relocation %s overflow 0x%lx"),
- abfd, howto->name, val);
+ abfd, howto->name, (long) val);
bfd_set_error (bfd_error_bad_value);
return false;
}