Ian Lance Taylor
2aeaf0fb26
libgo: Try to fix use of <ustat.h> for Solaris and older GNU/Linux.
...
From-SVN: r184828
2012-03-02 21:07:52 +00:00
Ian Lance Taylor
b65734ac6c
syscall: Fill out GNU/Linux support.
...
From-SVN: r184669
2012-02-29 20:02:31 +00:00
Ian Lance Taylor
5d46bf0538
libgo: Add mount flags, fallocate, statfs.
...
From-SVN: r184365
2012-02-18 01:22:02 +00:00
Ian Lance Taylor
ca59d219fe
runtime: Support broken makecontext on Solaris 8/9.
...
From Rainer Orth.
From-SVN: r184289
2012-02-15 22:29:35 +00:00
Ian Lance Taylor
12e3c39614
re PR go/52084 (go tests fail to link on powerpc-linux-gnu (undefined reference to __sync_add_and_fetch_8))
...
PR go/52084
libgo: Provide more __sync functions if required.
From-SVN: r184138
2012-02-12 06:23:08 +00:00
Ian Lance Taylor
e6c5817dca
libgo/configure: Fixes for Solaris 8 and cross-compilation.
...
From Rainer Orth.
From-SVN: r184092
2012-02-10 14:07:44 +00:00
Ian Lance Taylor
d2b480bc96
runtime: Add matherr function when appropriate.
...
From-SVN: r184024
2012-02-08 22:35:30 +00:00
Ian Lance Taylor
7f57843fbe
runtime: System-specific hack fix for x86_64 Solaris 10.
...
Fixes problem in which setcontext changes all thread-specific
information.
From-SVN: r183993
2012-02-08 05:30:12 +00:00
Ian Lance Taylor
e02ed81e1b
libgo: Build stubs for some syscall functions not on older systems.
...
From-SVN: r183577
2012-01-26 20:24:01 +00:00
Ian Lance Taylor
df1304ee03
libgo: Update to weekly.2012-01-15.
...
From-SVN: r183539
2012-01-25 20:56:26 +00:00
Ian Lance Taylor
506cf9aaea
libgo: Update to weekly.2011-11-01.
...
From-SVN: r181938
2011-12-02 19:34:41 +00:00
Ian Lance Taylor
08ee945e0b
runtime: If no sem_timedwait, use pthread_cond_timedwait.
...
From-SVN: r181821
2011-11-29 21:58:48 +00:00
Ian Lance Taylor
adb0401dac
Update Go library to r60.
...
From-SVN: r178910
2011-09-16 15:47:21 +00:00
Ian Lance Taylor
5bb92e54b7
libgo: Make os.setenv_c work on systems without setenv.
...
From-SVN: r174147
2011-05-24 22:21:34 +00:00
Ian Lance Taylor
9cc1bb97bc
libgo: Use MAP_FIXED if necessary to grab arena.
...
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-04-05 00:02:15 +00:00
Ian Lance Taylor
a3dbf764ae
Support libgo on Solaris.
...
From Rainer Orth.
From-SVN: r170355
2011-02-21 04:17:20 +00:00
Ian Lance Taylor
084996f1d1
Implement __sync_fetch_and_add_4 if necessary.
...
From-SVN: r169820
2011-02-04 00:49:47 +00:00
Ian Lance Taylor
0c521d1875
Check whether we are using setjmp/longjmp exceptions.
...
From-SVN: r169777
2011-02-03 01:53:36 +00:00
Ian Lance Taylor
a7c48c8ec5
Test whether libgcc or kernel defines __sync_bool_compare_and_swap_4.
...
From-SVN: r169504
2011-02-01 21:23:07 +00:00
Ian Lance Taylor
7a9389330e
Add Go frontend, libgo library, and Go testsuite.
...
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
2010-12-03 04:34:57 +00:00