aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-arm.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/coff-arm.c')
-rw-r--r--bfd/coff-arm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/coff-arm.c b/bfd/coff-arm.c
index b66ebe4..8a2fe1a 100644
--- a/bfd/coff-arm.c
+++ b/bfd/coff-arm.c
@@ -1743,8 +1743,8 @@ coff_arm_relocate_section (bfd *output_bfd,
case bfd_reloc_outofrange:
_bfd_error_handler
/* xgettext:c-format */
- (_("%B: bad reloc address 0x%lx in section `%A'"),
- input_bfd, (unsigned long) rel->r_vaddr, input_section);
+ (_("%B: bad reloc address %#Lx in section `%A'"),
+ input_bfd, rel->r_vaddr, input_section);
return FALSE;
case bfd_reloc_overflow:
{
@@ -2068,7 +2068,7 @@ bfd_arm_process_before_allocation (bfd * abfd,
if (symndx >= obj_conv_table_size (abfd))
{
/* xgettext:c-format */
- _bfd_error_handler (_("%B: illegal symbol index in reloc: %d"),
+ _bfd_error_handler (_("%B: illegal symbol index in reloc: %ld"),
abfd, symndx);
continue;
}