gold patch committed: Provide a version of mremap

Ian Lance Taylor iant@google.com
Fri Mar 27 23:22:00 GMT 2009


gold requires mmap.  It also uses mremap.  Some systems provide mmap but
not mremap.  I committed this patch to add a simple version of mremap
for use on systems which do not have it.  This version of mremap
suffices for gold, but is not a general replacement.

Ian


2009-03-27  Ian Lance Taylor  <iant@google.com>

	* 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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-patch
Size: 3259 bytes
Desc: Provide a version of mremap
URL: <https://sourceware.org/pipermail/binutils/attachments/20090327/4f03aed8/attachment.bin>


More information about the Binutils mailing list