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]

Re: archives with foreign object files


On Thu, Aug 16, 2001 at 01:02:34PM +0930, Alan Modra wrote:
> 
> bfd/ChangeLog
> 	* bfd.c (enum bfd_error): Add bfd_error_wrong_object_format.
> 	(bfd_errmsgs): Add corresponding message.
> 	* archive.c (bfd_generic_archive_p): Don't release bfd_ardata when
> 	finding an archive that contains different format object files.
> 	Return bfd_error_wrong_object_format for this case.
> 	* format.c: Formatting fixes.  s/CONST/const/.
> 	(bfd_check_format_matches): Accept archives that give
> 	bfd_error_wrong_object_format if no full match is found.  Tidy
> 	code handling matching_vector.  Don't return a pointer to freed
> 	memory in `matching'.  Handle ambiguous matches as for partial
> 	archive matches.
> 	* bfd-in2.h: Regenerate.

Applying, with Thiemo's suggestion re. unnecessary casts.


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