This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [gold] RFC: Add options for controlling mmap and fallocate of output file
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