From 2f35ab9b82f18c1ba7b27fb804859d6ed8482796 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 27 Mar 2009 23:21:09 +0000 Subject: * 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. --- gold/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gold/configure.ac') 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)]) -- cgit v1.1