aboutsummaryrefslogtreecommitdiff
path: root/bfd/linker.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/linker.c')
-rw-r--r--bfd/linker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/linker.c b/bfd/linker.c
index 233ea48..182786e 100644
--- a/bfd/linker.c
+++ b/bfd/linker.c
@@ -1849,7 +1849,7 @@ _bfd_generic_link_add_one_symbol (info, abfd, name, flags, section, value,
{
(*_bfd_error_handler)
(_("%s: indirect symbol `%s' to `%s' is a loop"),
- bfd_get_filename (abfd), name, string);
+ bfd_archive_filename (abfd), name, string);
bfd_set_error (bfd_error_invalid_operation);
return false;
}