libgo patch committed: If no MAP_ANON, use /dev/zero

Ian Lance Taylor iant@google.com
Sat Jan 29 10:59:00 GMT 2011


This patch adjusts libgo so that if the system does not support
MAP_ANON/MAP_ANONYMOUS, it mmaps from /dev/zero.  Bootstrapped and ran
Go testsuite (both using /dev/zero and not) on
x86_64-unknown-linux-gnu.  Committed to mainline.

Ian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 1339 bytes
Desc: MAP_ANON
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110129/7892fffb/attachment.bin>


More information about the Gcc-patches mailing list