diff options
author | Ian Lance Taylor <ian@airs.com> | 2009-03-27 23:21:09 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2009-03-27 23:21:09 +0000 |
commit | 2f35ab9b82f18c1ba7b27fb804859d6ed8482796 (patch) | |
tree | 1456d74d906200b979fa5b7c79861b1ae3cb6591 /gold/gold.h | |
parent | 10e1b6bb907a5ec314012ebb75c94a8e5b29b145 (diff) | |
download | binutils-2f35ab9b82f18c1ba7b27fb804859d6ed8482796.zip binutils-2f35ab9b82f18c1ba7b27fb804859d6ed8482796.tar.gz binutils-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/gold.h')
-rw-r--r-- | gold/gold.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/gold.h b/gold/gold.h index 780561d..dc8da55 100644 --- a/gold/gold.h +++ b/gold/gold.h @@ -125,6 +125,11 @@ extern "C" ssize_t pread(int, void*, size_t, off_t); extern "C" int ftruncate(int, off_t); #endif +#ifndef HAVE_MREMAP +#define MREMAP_MAYMOVE 1 +extern "C" void *mremap (void *, size_t, size_t, int, ...); +#endif + namespace gold { |