Ian Lance Taylor
18c700754e
libgo: Generate dependencies automatically.
...
From-SVN: r181955
2011-12-03 00:16:12 +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
207c35fa9e
syscall: Portability code for epoll_event on GNU/Linux.
...
From-SVN: r180729
2011-11-01 04:12:01 +00:00
Ian Lance Taylor
de27caacfb
Implement new syscall package.
...
Calls to library functions now use entersyscall and
exitsyscall as appropriate. This is a first step toward
multiplexing goroutines onto threads.
From-SVN: r180345
2011-10-23 19:04:37 +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
d983a802f6
libgo: Define CC_FOR_BUILD in Makefile.
...
From-SVN: r176182
2011-07-11 20:27:50 +00:00
Rainer Orth
fbdd5d8715
re PR bootstrap/39150 (Configure scripts have no 64-Bit Solaris defined (only i386-solaris*).)
...
gcc:
PR target/39150
* configure.ac (gcc_cv_as_hidden): Also accept
x86_64-*-solaris2.1[0-9]*.
(gcc_cv_as_cfi_directive): Likewise.
(gcc_cv_as_comdat_group_group): Likewise.
(set_have_as_tls): Likewise.
* configure: Regenerate.
* config.gcc (i[34567]86-*-solaris2*): Also handle
x86_64-*-solaris2.1[0-9]*.
* config.host (i[34567]86-*-solaris2*): Likewise.
* config/sparc/sol2.h (ASM_CPU_DEFAULT_SPEC): Remove.
* config/sol2-bi.h (ASM_CPU_DEFAULT_SPEC): Redefine.
[USE_GLD] (ARCH_DEFAULT_EMULATION): Define.
(TARGET_LD_EMULATION): Use it.
* config/i386/sol2.h (ASM_CPU_DEFAULT_SPEC): Define.
(SUBTARGET_CPU_EXTRA_SPECS): Add asm_cpu_default.
* config/i386/sol2-bi.h (ASM_CPU32_DEFAULT_SPEC): Define.
(ASM_CPU64_DEFAULT_SPEC): Define.
(ASM_CPU_SPEC): Use %(asm_cpu_default).
(ASM_SPEC): Redefine.
(DEFAULT_ARCH32_P): Define using TARGET_64BIT_DEFAULT.
* config/host-solaris.c [__x86_64__] (TRY_EMPTY_VM_SPACE): Reduce.
* doc/install.texi (Specific, amd64-*-solaris2.1[0-9]*):
Document.
(Specific, i?86-*-solaris2.10): Mention x86_64-*-solaris2.1[0-9]*
configuration.
(Specific, x86_64-*-solaris2.1[0-9]*): Document.
gcc/ada:
PR target/39150
* gcc-interface/Makefile.in: Handle x86_64-solaris2.
libgcc:
PR target/39150
* config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
like i?86-*-solaris2.1[0-9]*.
(i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
* configure.ac (i?86-*-solaris2*): Likewise.
* configure: Regenerate.
gcc/testsuite:
PR target/39150
* gcc.misc-tests/linkage.exp: Handle x86_64-*-solaris2.1[0-9]*.
toplevel:
PR target/39150
* configure.ac (i[3456789]86-*-solaris2*): Also accept
x86_64-*-solaris2.1[0-9]*.
* configure: Regenerate.
boehm-gc:
PR target/39150
* configure.ac (i?86-*-solaris2.[89]): Also accept
x86_64-*-solaris2.1?.
* configure: Regenerate.
gnattools:
PR target/39150
* configure.ac (*86-*-solaris2*): Also accept
x86_64-*-solaris2.1[0-9]*.
* configure: Regenerate.
libcpp:
PR target/39150
* configure.ac (host_wide_int): Handle x86_64-*-solaris2.1[0-9]
like i[34567]86-*-solaris2.1[0-9]*.
* configure: Regenerate.
libgo:
PR target/39150
* config/libtool.m4: Handle x86_64-*-solaris2.1[0-9]* like
i?86-*-solaris*.
* configure: Regenerate.
libjava:
PR target/39150
* configure.host (x86_64-*): Add -Usun to libgcj_flags.
(x86_64-*-solaris2.1[0-9]*): New case.
(i?86-*-solaris2*): Also accept x86_64-*-solaris2.1[0-9]*.
From-SVN: r175958
2011-07-07 09:24:16 +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
9f3b1e6c60
libgo: Irix 6 patches.
...
From Rainer Orth.
From-SVN: r172935
2011-04-25 19:36:12 +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
3b66f10536
Mark as executable in SVN.
...
From-SVN: r171913
2011-04-03 16:14:19 +00:00
Ian Lance Taylor
e59b917109
libgo: Support for alpha.
...
From Uros Bizjak.
From-SVN: r171860
2011-04-01 23:02:16 +00:00
Ian Lance Taylor
4ac7fcaac0
libgo: Try to guess the right type for select bits in mksysinfo.
...
From-SVN: r171858
2011-04-01 22:53:54 +00:00
Ian Lance Taylor
90630d1932
libgo: Support Solaris 8/9.
...
From Rainer Orth.
From-SVN: r171818
2011-04-01 05:11:23 +00:00
Ian Lance Taylor
85a0921018
libgo: Recognize MIPS ABIs.
...
From-SVN: r171809
2011-04-01 00:17:10 +00:00
Ian Lance Taylor
654d2ec080
re PR go/47515 (Issues porting libgo to IRIX 6.5)
...
PR go/47515
libgo: Add Irix support.
From Rainer Orth.
From-SVN: r171806
2011-03-31 23:55:21 +00:00
Ian Lance Taylor
0b3189e79f
libgo: Use waitpid on systems which do not have wait4.
...
From-SVN: r171758
2011-03-30 23:05:04 +00:00
Ian Lance Taylor
8955c80a1c
libgo: Support systems which do not have strerror_r.
...
From-SVN: r171757
2011-03-30 22:34:55 +00:00
Ian Lance Taylor
a3dbf764ae
Support libgo on Solaris.
...
From Rainer Orth.
From-SVN: r170355
2011-02-21 04:17:20 +00:00
Ralf Wildenhues
029c8f3e77
Remove freebsd1 from libtool.m4 macros and config.rpath.
...
/:
Import from Libtool and gnulib:
2011-01-27 Gerald Pfeifer <gerald@pfeifer.com>
Prepare for supporting FreeBSD 10.
* config.rpath: Remove handling of freebsd1* which soon would
match FreeBSD 10.0.
2011-01-20 Gerald Pfeifer <gerald@pfeifer.com> (tiny change)
Remove support for FreeBSD 1.x.
* libtool.m4 (_LT_LINKER_SHLIBS)
(_LT_SYS_DYNAMIC_LINKER): Remove handling of freebsd1* which
soon would incorrectly match FreeBSD 10.0.
boehm-gc/:
* configure: Regenerate.
gcc/:
* configure: Regenerate.
libffi/:
* configure: Regenerate.
libgfortran/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* configure: Likewise.
libgo/:
* config/libtool.m4: (_LT_LINKER_SHLIBS)
(_LT_SYS_DYNAMIC_LINKER): Remove handling of freebsd1* which
soon would incorrectly match FreeBSD 10.0.
* configure: Regenerate.
libgomp/:
* configure: Regenerate.
libjava/:
* configure: Regenerate.
* shlibpath.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Remove handling
of freebsd1* which soon would incorrectly match FreeBSD 10.0.
libjava/classpath/:
* config.rpath, ltcf-c.sh, ltcf-gcj.sh, ltconfig: Remove
handling of freebsd1* which soon would match FreeBSD 10.0.
* configure: Regenerate.
libjava/libltdl/:
* acinclude.m4 (AC_LIBTOOL_PROG_LD_SHLIBS)
(AC_LIBTOOL_SYS_DYNAMIC_LINKER): Remove handling
of freebsd1* which soon would incorrectly match FreeBSD 10.0.
* configure: Regenerate.
libmudflap/:
* configure: Regenerate.
libobjc/:
* configure: Regenerate.
libquadmath/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* configure: Likewise.
libssp/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* configure: Likewise.
libstdc++-v3/:
* configure: Regenerate.
lto-plugin/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* configure: Regenerate.
zlib/:
* configure: Regenerate.
From-SVN: r170106
2011-02-13 11:45:53 +00:00
Ian Lance Taylor
4a299bf4ff
libgo/configure.ac: Use AC_COMPILE_IFELSE, not AC_PREPROC_IFELSE.
...
From-SVN: r170030
2011-02-10 23:43:42 +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
932e32375a
libgo: Apply upstream libtool patch.
...
http://gcc.gnu.org/ml/gcc-patches/2011-02/msg00008.html
From-SVN: r169766
2011-02-02 18:41:27 +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
ca11cc98b9
Recognize m68k, mips, PPC. Don't require arch syscall files to exist.
...
From-SVN: r169185
2011-01-24 23:42:22 +00:00
Ian Lance Taylor
ed4ebabc90
libgo: Check whether we need -lrt for sched_yield.
...
From Rainer Orth.
From-SVN: r168816
2011-01-14 19:18:38 +00:00
Ian Lance Taylor
545d1aa13c
Use GOARCH value of sparc64 rather than sparcv9.
...
From-SVN: r168740
2011-01-13 06:18:45 +00:00
Ian Lance Taylor
f2ee78b861
Preliminary framework for Solaris support.
...
Partly from Rainer Orth.
From-SVN: r168697
2011-01-12 06:34:08 +00:00
Ian Lance Taylor
c3b5b97b64
Simplify libgo Makefile conditionals.
...
From-SVN: r168696
2011-01-12 02:03:46 +00:00
Ian Lance Taylor
505b439a06
re PR other/46840 (libgo should link against libm)
...
PR other/46840
Link libgo against -lm.
From-SVN: r167582
2010-12-08 02:08:59 +00:00
Ian Lance Taylor
6c94a9fa16
Check for -pthread and -lpthread at configure time.
...
From-SVN: r167445
2010-12-03 21:27:06 +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