Commit Graph

14 Commits

Author SHA1 Message Date
Ian Lance Taylor ec9dc45b75 Use _nuname on 32-bit Solaris 2/x86.
From-SVN: r170761
2011-03-07 22:39:45 +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 dc75b81734 Fix typo in socket_bsd.go.
From-SVN: r169313
2011-01-27 00:08:02 +00:00
Ian Lance Taylor d62d06b6ff libgo: Fix typo in syscalls/socket_bsd.go.
From-SVN: r169190
2011-01-25 00:40:00 +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 71c67403a2 syscalls/sleep_rtems.go: Add missing package clause.
From-SVN: r169183
2011-01-24 22:44:52 +00:00
Ian Lance Taylor 2e8e58aa8a syscalls: Add SPARC RTEMS specific file.
From-SVN: r169119
2011-01-22 02:01:38 +00:00
Ian Lance Taylor ff5f50c52c Remove the types float and complex.
Update to current version of Go library.

Update testsuite for removed types.

	* go-lang.c (go_langhook_init): Omit float_type_size when calling
	go_create_gogo.
	* go-c.h: Update declaration of go_create_gogo.

From-SVN: r169098
2011-01-21 18:19:03 +00:00
Ian Lance Taylor 2ab1753476 libgo/syscalls: Finish Solaris code.
Mostly from Rainer Orth.

From-SVN: r168814
2011-01-14 19:10:02 +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 cff0c39da1 Clean up syscalls, add some Solaris support.
From-SVN: r168738
2011-01-13 05:17:52 +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 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