diff options
Diffstat (limited to 'bfd/coff-rs6000.c')
-rw-r--r-- | bfd/coff-rs6000.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c index 44ede25..d97cb03 100644 --- a/bfd/coff-rs6000.c +++ b/bfd/coff-rs6000.c @@ -2576,7 +2576,7 @@ xcoff_ppc_relocate_section (output_bfd, info, input_bfd, default: (*_bfd_error_handler) (_("%s: unsupported relocation type 0x%02x"), - bfd_get_filename (input_bfd), (unsigned int) rel->r_type); + bfd_archive_filename (input_bfd), (unsigned int) rel->r_type); bfd_set_error (bfd_error_bad_value); return false; case R_POS: @@ -2622,7 +2622,7 @@ xcoff_ppc_relocate_section (output_bfd, info, input_bfd, { (*_bfd_error_handler) (_("%s: TOC reloc at 0x%x to symbol `%s' with no TOC entry"), - bfd_get_filename (input_bfd), rel->r_vaddr, + bfd_archive_filename (input_bfd), rel->r_vaddr, h->root.root.string); bfd_set_error (bfd_error_bad_value); return false; @@ -2872,7 +2872,7 @@ xcoff_create_csect_from_smclas (abfd, aux, symbol_name) { (*_bfd_error_handler) (_("%s: symbol `%s' has unrecognized smclas %d"), - bfd_get_filename (abfd), symbol_name, aux->x_csect.x_smclas); + bfd_archive_filename (abfd), symbol_name, aux->x_csect.x_smclas); bfd_set_error (bfd_error_bad_value); } |