{
const int max_len = NLM_MODULE_NAME_SIZE - 2;
const char * filename = lbasename (output_file);
-
+
len = strlen (filename);
if (len > max_len)
len = max_len;
if (rel->address > contents_size - 4)
{
- non_fatal (_("Out of range relocation: %lx"), rel->address);
+ non_fatal (_("Out of range relocation: %lx"),
+ (long) rel->address);
break;
}
-
+
assert (rel->howto->size == 2 && rel->howto->pcrel_offset);
val = bfd_get_32 (outbfd, (bfd_byte *) contents + rel->address);
val = ((val &~ rel->howto->dst_mask)
case 1:
if (rel->address > contents_size - 2)
{
- non_fatal (_("Out of range relocation: %lx"), rel->address);
+ non_fatal (_("Out of range relocation: %lx"),
+ (long) rel->address);
break;
}
-
+
val = bfd_get_16 (outbfd,
(bfd_byte *) contents + rel->address);
val = ((val &~ rel->howto->dst_mask)
/* PR 17512: file: 0455a112. */
if (rel->address > contents_size - 4)
{
- non_fatal (_("Out of range relocation: %lx"), rel->address);
+ non_fatal (_("Out of range relocation: %lx"),
+ (long) rel->address);
break;
}
-
+
val = bfd_get_32 (outbfd,
(bfd_byte *) contents + rel->address);
val = ((val &~ rel->howto->dst_mask)