This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Return NULL on NULL bfd (Problem with linker with binutils-040414)
Hi H. J.
I am having the second thought. bfd_archive_filename was invented for
bfd error reporting. It is used as
Surely if it is intended for error reporting then it is better that it
returns a bogus filename such as "<unknown>" rather than seg-faulting as
otherwise the actual error message will never be displayed.
Cheers
Nick