diff options
Diffstat (limited to 'bfd/elf32-arm.c')
-rw-r--r-- | bfd/elf32-arm.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index e0ae923..61cadf7 100644 --- a/bfd/elf32-arm.c +++ b/bfd/elf32-arm.c @@ -4493,7 +4493,7 @@ elf32_arm_add_stub (const char *stub_name, asection *section, { if (section == NULL) section = stub_sec; - _bfd_error_handler (_("%s: cannot create stub entry %s"), + _bfd_error_handler (_("%B: cannot create stub entry %s"), section->owner, stub_name); return NULL; } @@ -6630,7 +6630,7 @@ elf32_arm_size_stubs (bfd *output_bfd, TRUE, FALSE); if (stub_entry == NULL) { - _bfd_error_handler (_("%s: cannot create stub entry %s"), + _bfd_error_handler (_("%B: cannot create stub entry %s"), section->owner, stub_name); return FALSE; } @@ -16023,8 +16023,7 @@ elf32_arm_size_dynamic_sections (bfd * output_bfd ATTRIBUTE_UNUSED, if (!bfd_elf32_arm_process_before_allocation (ibfd, info) || !bfd_elf32_arm_vfp11_erratum_scan (ibfd, info) || !bfd_elf32_arm_stm32l4xx_erratum_scan (ibfd, info)) - _bfd_error_handler (_("Errors encountered processing file %s"), - ibfd->filename); + _bfd_error_handler (_("Errors encountered processing file %B"), ibfd); } /* Allocate space for the glue sections now that we've sized them. */ |