diff options
Diffstat (limited to 'binutils/bucomm.c')
-rw-r--r-- | binutils/bucomm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/binutils/bucomm.c b/binutils/bucomm.c index da7cfad..8ecd7f2 100644 --- a/binutils/bucomm.c +++ b/binutils/bucomm.c @@ -605,7 +605,8 @@ bfd_get_archive_filename (const bfd *abfd) assert (abfd != NULL); - if (!abfd->my_archive) + if (abfd->my_archive == NULL + || bfd_is_thin_archive (abfd->my_archive)) return bfd_get_filename (abfd); needed = (strlen (bfd_get_filename (abfd->my_archive)) |