goto success;
free_no_table:
- (*info->callbacks->einfo)
+ _bfd_error_handler
/* xgettext:c-format */
- (_("%P: error in %pB(%pA); no .eh_frame_hdr table will be created.\n"),
+ (_("error in %pB(%pA); no .eh_frame_hdr table will be created"),
abfd, sec);
hdr_info->u.dwarf.table = FALSE;
if (sec_info)
hdr_info->u.dwarf.table = FALSE;
if (num_warnings_issued < 10)
{
- (*info->callbacks->einfo)
+ _bfd_error_handler
/* xgettext:c-format */
- (_("%P: FDE encoding in %pB(%pA) prevents .eh_frame_hdr"
- " table being created.\n"), abfd, sec);
+ (_("FDE encoding in %pB(%pA) prevents .eh_frame_hdr"
+ " table being created"), abfd, sec);
num_warnings_issued ++;
}
else if (num_warnings_issued == 10)
{
- (*info->callbacks->einfo)
- (_("%P: Further warnings about FDE encoding preventing .eh_frame_hdr generation dropped.\n"));
+ _bfd_error_handler
+ (_("further warnings about FDE encoding preventing .eh_frame_hdr generation dropped"));
num_warnings_issued ++;
}
}
address += elf_gp (abfd);
break;
default:
- (*info->callbacks->einfo)
- (_("%P: DW_EH_PE_datarel unspecified"
- " for this architecture.\n"));
+ _bfd_error_handler
+ (_("DW_EH_PE_datarel unspecified"
+ " for this architecture"));
/* Fall thru */
case bfd_arch_frv:
case bfd_arch_i386:
if (sec->output_section != osec)
{
_bfd_error_handler
- (_("Invalid output section for .eh_frame_entry: %pA"),
+ (_("invalid output section for .eh_frame_entry: %pA"),
sec->output_section);
return FALSE;
}
if (i != 0)
{
_bfd_error_handler
- (_("Invalid contents in %pA section"), osec);
+ (_("invalid contents in %pA section"), osec);
return FALSE;
}
overlap = TRUE;
}
if (overflow)
- (*info->callbacks->einfo) (_("%P: .eh_frame_hdr entry overflow.\n"));
+ _bfd_error_handler (_(".eh_frame_hdr entry overflow"));
if (overlap)
- (*info->callbacks->einfo)
- (_("%P: .eh_frame_hdr refers to overlapping FDEs.\n"));
+ _bfd_error_handler (_(".eh_frame_hdr refers to overlapping FDEs"));
if (overflow || overlap)
{
bfd_set_error (bfd_error_bad_value);