aboutsummaryrefslogtreecommitdiff
path: root/libgo/runtime/mem.c
AgeCommit message (Collapse)AuthorFilesLines
2011-11-01runtime: Correct test of mmap return value.Ian Lance Taylor1-1/+6
From-SVN: r180731
2011-10-26Update Go library to last weekly.Ian Lance Taylor1-0/+1
From-SVN: r180552
2011-04-05libgo: Use MAP_FIXED if necessary to grab arena.Ian Lance Taylor1-0/+23
From Rainer Orth. PR go/48240 * configure.ac: Check for mincore. * configure: Regenerate. * config.h.in: Regenerate. * runtime/mem.c: Include unistd.h. (addrspace_free): New function. (runtime_SysMap): Retry 64-bit runtime_mmap with MAP_FIXED. From-SVN: r171961
2011-03-16Update to current version of Go library (revision 94d654be2064).Ian Lance Taylor1-13/+59
From-SVN: r171076
2011-01-29re PR go/47515 (Issues porting libgo to IRIX 6.5)Ian Lance Taylor1-1/+27
PR go/47515 runtime: If no MAP_ANON, use /dev/zero. From-SVN: r169388
2010-12-03Add Go frontend, libgo library, and Go testsuite.Ian Lance Taylor1-0/+50
gcc/: * gcc.c (default_compilers): Add entry for ".go". * common.opt: Add -static-libgo as a driver option. * doc/install.texi (Configuration): Mention libgo as an option for --enable-shared. Mention go as an option for --enable-languages. * doc/invoke.texi (Overall Options): Mention .go as a file name suffix. Mention go as a -x option. * doc/frontends.texi (G++ and GCC): Mention Go as a supported language. * doc/sourcebuild.texi (Top Level): Mention libgo. * doc/standards.texi (Standards): Add section on Go language. Move references for other languages into their own section. * doc/contrib.texi (Contributors): Mention that I contributed the Go frontend. gcc/testsuite/: * lib/go.exp: New file. * lib/go-dg.exp: New file. * lib/go-torture.exp: New file. * lib/target-supports.exp (check_compile): Match // Go. From-SVN: r167407