[gold] RFC: Add options for controlling mmap and fallocate of output file

Ian Lance Taylor iant@google.com
Wed Jun 6 21:44:00 GMT 2012


Cary Coutant <ccoutant@google.com> writes:

> 2012-06-06  Cary Coutant  <ccoutant@google.com>
>
> 	* configure.ac: Add check for fallocate.
> 	* configure: Regenerate.
> 	* config.in: Regenerate.
>
> 	* options.h (class General_options): Add --mmap-output-file and
> 	--posix-fallocate options.
> 	* output.cc: (posix_fallocate): Remove; replace with...
> 	(gold_fallocate): New function.
> 	(Output_file::map_no_anonymous): Call gold_fallocate.
> 	(Output_file::map): Check --mmap-output-file option.

This is OK.

Thanks.

Ian



More information about the Binutils mailing list