This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]