aboutsummaryrefslogtreecommitdiff
path: root/gold/config.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2009-03-17 22:25:30 +0000
committerIan Lance Taylor <ian@airs.com>2009-03-17 22:25:30 +0000
commit9201d894910e26e87fbfc0af24d9460797b1890f (patch)
tree777029282e401e722d33f5fc0528fc02c267979f /gold/config.in
parentef4ab7a8185e12b2a2e76982a9fe82c8d0f10a38 (diff)
downloadgdb-9201d894910e26e87fbfc0af24d9460797b1890f.zip
gdb-9201d894910e26e87fbfc0af24d9460797b1890f.tar.gz
gdb-9201d894910e26e87fbfc0af24d9460797b1890f.tar.bz2
* configure.ac: Check for chsize and posix_fallocate. Replace
ftruncate. * ftruncate.c: New file, from gnulib. * output.cc (posix_fallocate): Define dummy version if not HAVE_POSIX_FALLOCATE. (Output_file::map): Call posix_fallocate rather than lseek and write. * gold.h (ftruncate): Declare if not HAVE_FTRUNCATE. * configure, Makefile.in, config.in: Rebuild.
Diffstat (limited to 'gold/config.in')
-rw-r--r--gold/config.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/gold/config.in b/gold/config.in
index 01aac90..c9e994b 100644
--- a/gold/config.in
+++ b/gold/config.in
@@ -22,12 +22,18 @@
/* Define to 1 if you have the <byteswap.h> header file. */
#undef HAVE_BYTESWAP_H
+/* Define to 1 if you have the `chsize' function. */
+#undef HAVE_CHSIZE
+
/* Define to 1 if you have the <ext/hash_map> header file. */
#undef HAVE_EXT_HASH_MAP
/* Define to 1 if you have the <ext/hash_set> header file. */
#undef HAVE_EXT_HASH_SET
+/* Define to 1 if you have the `ftruncate' function. */
+#undef HAVE_FTRUNCATE
+
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
@@ -40,6 +46,9 @@
/* Define if compiler supports #pragma omp threadprivate */
#undef HAVE_OMP_SUPPORT
+/* Define to 1 if you have the `posix_fallocate' function. */
+#undef HAVE_POSIX_FALLOCATE
+
/* Define to 1 if you have the `pread' function. */
#undef HAVE_PREAD