gold patch committed: better handling of invalid archives

Ian Lance Taylor iant@google.com
Sun Mar 27 17:01:00 GMT 2011
This gold patch improves the handling of invalid archives.  Before the
linker would try to carry on after determining that the archive was
invalid, leading to crashes.  This changes the linker to stop trying to
process the archive once it has failed to parse it.  Committed to
mainline.

Ian


2011-03-27  Ian Lance Taylor  <iant@google.com>

	* archive.cc (Archive::interpret_header): Return -1 if something
	goes wrong.  Change callers accordingly.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 4358 bytes
Desc: patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20110327/baccb202/attachment.bin>


More information about the Binutils mailing list