aboutsummaryrefslogtreecommitdiff
path: root/gold/configure.ac
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2012-06-06 22:12:47 +0000
committerCary Coutant <ccoutant@google.com>2012-06-06 22:12:47 +0000
commit7c0640fa36c37d0e17b1db3ab9b1c66792f8a5fb (patch)
tree2bad952e9bfe9eda450d7e2082215e2c62fd5c5a /gold/configure.ac
parent8fe6640e153236e68f3531b8d8151be2f8c61193 (diff)
downloadgdb-7c0640fa36c37d0e17b1db3ab9b1c66792f8a5fb.zip
gdb-7c0640fa36c37d0e17b1db3ab9b1c66792f8a5fb.tar.gz
gdb-7c0640fa36c37d0e17b1db3ab9b1c66792f8a5fb.tar.bz2
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.
Diffstat (limited to 'gold/configure.ac')
-rw-r--r--gold/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/configure.ac b/gold/configure.ac
index a2c4875..fdea629 100644
--- a/gold/configure.ac
+++ b/gold/configure.ac
@@ -499,7 +499,7 @@ AC_LANG_PUSH(C++)
AC_CHECK_HEADERS(tr1/unordered_set tr1/unordered_map)
AC_CHECK_HEADERS(ext/hash_map ext/hash_set)
AC_CHECK_HEADERS(byteswap.h)
-AC_CHECK_FUNCS(mallinfo posix_fallocate readv sysconf times)
+AC_CHECK_FUNCS(mallinfo posix_fallocate fallocate readv sysconf times)
AC_CHECK_DECLS([basename, ffs, asprintf, vasprintf, snprintf, vsnprintf, strverscmp, strndup, memmem])
# Use of ::std::tr1::unordered_map::rehash causes undefined symbols