From 7c0640fa36c37d0e17b1db3ab9b1c66792f8a5fb Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Wed, 6 Jun 2012 22:12:47 +0000 Subject: gold/ * 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. --- gold/config.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gold/config.in') diff --git a/gold/config.in b/gold/config.in index dd0a0da335b..ff4d5ee5b9e 100644 --- a/gold/config.in +++ b/gold/config.in @@ -79,6 +79,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_EXT_HASH_SET +/* Define to 1 if you have the `fallocate' function. */ +#undef HAVE_FALLOCATE + /* Define to 1 if you have the `ffsll' function. */ #undef HAVE_FFSLL -- cgit v1.2.1