projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set my_archive for thin archives
[binutils-gdb.git]
/
bfd
/
bfd.c
diff --git
a/bfd/bfd.c
b/bfd/bfd.c
index 7400c4ed5d24d69aba6c5f6a9e036b93f7c03915..26143f91debc21d886b4cf01e8fcf6ba1d46f418 100644
(file)
--- a/
bfd/bfd.c
+++ b/
bfd/bfd.c
@@
-703,7
+703,8
@@
_bfd_default_error_handler (const char *fmt, ...)
if (abfd == NULL)
/* Invoking %B with a null bfd pointer is an internal error. */
abort ();
if (abfd == NULL)
/* Invoking %B with a null bfd pointer is an internal error. */
abort ();
- else if (abfd->my_archive)
+ else if (abfd->my_archive
+ && !bfd_is_thin_archive (abfd->my_archive))
snprintf (bufp, avail, "%s(%s)",
abfd->my_archive->filename, abfd->filename);
else
snprintf (bufp, avail, "%s(%s)",
abfd->my_archive->filename, abfd->filename);
else