aboutsummaryrefslogtreecommitdiff
path: root/gold/configure.ac
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2009-03-27 23:21:09 +0000
committerIan Lance Taylor <ian@airs.com>2009-03-27 23:21:09 +0000
commit2f35ab9b82f18c1ba7b27fb804859d6ed8482796 (patch)
tree1456d74d906200b979fa5b7c79861b1ae3cb6591 /gold/configure.ac
parent10e1b6bb907a5ec314012ebb75c94a8e5b29b145 (diff)
downloadgdb-2f35ab9b82f18c1ba7b27fb804859d6ed8482796.zip
gdb-2f35ab9b82f18c1ba7b27fb804859d6ed8482796.tar.gz
gdb-2f35ab9b82f18c1ba7b27fb804859d6ed8482796.tar.bz2
* mremap.c: New file.
* configure.ac: Call AC_REPLACE_FUNCS on mremap. * gold.h (MREMAP_MAYMOVE): Define if HAVE_MREMAP is not defined. (mremap): Declare if HAVE_MREMAP is not defined. * configure, Makefile.in, config.in: Rebuild.
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 a770f87..335ecb3 100644
--- a/gold/configure.ac
+++ b/gold/configure.ac
@@ -312,7 +312,7 @@ LFS_CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
AC_SUBST(LFS_CFLAGS)
AC_CHECK_FUNCS(chsize)
-AC_REPLACE_FUNCS(pread ftruncate)
+AC_REPLACE_FUNCS(pread ftruncate mremap)
# Link in zlib if we can. This allows us to write compressed sections.
AC_SEARCH_LIBS(zlibVersion, z, [AC_CHECK_HEADERS(zlib.h)])