_bfd_error_handler
/* xgettext:c-format */
(_("%B: attempt to emit contents at non-multiple-of-4"
- " address 0x%lx\n"),
- abfd, (unsigned long) vma);
+ " address %#Lx"),
+ abfd, vma);
bfd_set_error (bfd_error_bad_value);
return FALSE;
}
bfd_size_type nbytes_read = 0;
/* Buffer with room to read a 64-bit value. */
bfd_byte buf[8];
- long stab_loc = -1;
+ file_ptr stab_loc = -1;
char *file_names[256];
abfd->symcount = 0;
" not equal to the number of tetras to the preceding"
" lop_stab (%ld)\n"),
abfd, (long) (y * 256 + z),
- (curpos - stab_loc - 4)/4);
+ (long) (curpos - stab_loc - 4)/4);
bfd_set_error (bfd_error_bad_value);
goto error_return;
}
global registers. */
_bfd_error_handler
/* xgettext:c-format */
- (_("%B: too many initialized registers; section length %ld\n"),
- abfd, (long) sec->size);
+ (_("%B: too many initialized registers; section length %Ld"),
+ abfd, sec->size);
else
_bfd_error_handler
/* xgettext:c-format */
(_("%B: invalid start address for initialized registers of"
- " length %ld: 0x%lx%08lx\n"),
- abfd, (long) sec->size,
- (unsigned long) (sec->vma >> 32), (unsigned long) (sec->vma));
+ " length %Ld: %#Lx"),
+ abfd, sec->size, sec->vma);
return FALSE;
}