[gold patch] Fix gold to detect truncated binaries (PR gold/13288)

Ian Lance Taylor iant@google.com
Mon Oct 17 23:29:00 GMT 2011


Cary Coutant <ccoutant@google.com> writes:

> 2011-10-12  Cary Coutant  <ccoutant@google.com>
>
> 	PR gold/13288
> 	* gold/fileread.cc (File_read::find_view): Add assert.
> 	(File_read::make_view): Move bounds check (replace with assert)...
> 	(File_read::find_or_make_view): ... to here.

This is OK.

Thanks.

Ian



More information about the Binutils mailing list