Commit Graph

39 Commits

Author SHA1 Message Date
Ian Lance Taylor 25a182be4f libgo: Use the right files on Solaris variants.
From-SVN: r171753
2011-03-30 21:45:57 +00:00
Ian Lance Taylor c019d84956 libgo/Makefile.am: Add missing dependencies for net/net.lo.
From-SVN: r171737
2011-03-30 17:37:58 +00:00
Ian Lance Taylor f72f416913 Update to current Go library.
From-SVN: r171732
2011-03-30 15:33:16 +00:00
Ian Lance Taylor 80ec23acbd Rename net/fd_rtems.go to net/fd_select.go.
From-SVN: r171621
2011-03-28 18:30:21 +00:00
Ian Lance Taylor c29301d6b1 Add runtime profiling infrastructure, not yet working.
From-SVN: r171579
2011-03-27 19:14:55 +00:00
Ian Lance Taylor fe052134f6 Remove closed function. Fix tuple receive in select.
From-SVN: r171440
2011-03-25 05:14:57 +00:00
Ian Lance Taylor 8039ca76a5 Update to current version of Go library.
From-SVN: r171427
2011-03-24 23:46:17 +00:00
Ian Lance Taylor 8046b66539 libgo: Add GOTESTFLAGS variable used when testing.
From Rainer Orth.

From-SVN: r171272
2011-03-21 22:01:53 +00:00
Ian Lance Taylor 5133f00ef8 Update to current version of Go library (revision 94d654be2064).
From-SVN: r171076
2011-03-16 23:05:44 +00:00
Ian Lance Taylor d2822509df Don't use intermediate .la files building libgo.
From-SVN: r170862
2011-03-11 01:00:15 +00:00
Ian Lance Taylor bef18456b7 Solaris specific syslog support.
From-SVN: r170837
2011-03-09 22:13:09 +00:00
Ian Lance Taylor 8897c836a8 re PR go/48017 (Network tests should fail gracefully without network connectivity)
PR go/48017
Only run net tests if GCCGO_RUN_ALL_TESTS is set in environment.

From-SVN: r170809
2011-03-09 05:57:10 +00:00
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 7b67393dff Permit comparing non-empty interfaces with empty interfaces.
From-SVN: r170385
2011-02-22 02:52: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
Ian Lance Taylor ee6bde766a libgo: Pass compiler flags to mksysinfo.sh.
From-SVN: r169848
2011-02-05 02:00:32 +00:00
Ian Lance Taylor 7467fc4bcd libgo/Makefile.am: Simplify build to avoid unnecessary .a files.
From-SVN: r169456
2011-01-31 23:43:49 +00:00
Ian Lance Taylor 51677e0338 Add Solaris version of os.Hostname.
From-SVN: r169350
2011-01-28 01:44:55 +00:00
Ian Lance Taylor 24d6250f98 Don't force rebuild if mksysinfo.sh does not change sysinfo.go.
From-SVN: r169342
2011-01-27 23:25:31 +00:00
Ian Lance Taylor afc9550b35 Add missing dependency in libgo/Makefile.am.
From-SVN: r169341
2011-01-27 22:49:34 +00:00
Ian Lance Taylor 0544ed0caa re PR go/47452 (Bootstrap fails in libgo (argument has incompatible type))
PR go/47452
Pick up local .gox files for specially built packages.

From-SVN: r169192
2011-01-25 05:45:21 +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 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 15049fa5af libgo/Makefile.am: Fix typo naming socket_bsd.go.
From-SVN: r169037
2011-01-19 23:03:33 +00:00
Ian Lance Taylor 3ad3790dc0 libgo: Use $(SHELL) to invoke gotest.
From Rainer Orth.

From-SVN: r168815
2011-01-14 19:13:24 +00:00
Ian Lance Taylor 8c954c529d libgo/Makefile.am: Correct typos in Solaris support.
From Rainer Orth.

From-SVN: r168804
2011-01-14 18:46:42 +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 86d013a7f0 Make using DejaGNU work for libgo testing on a native system.
From-SVN: r168729
2011-01-12 21:56:10 +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 21822c903b Change libgo testsuite format to be more like DejaGNU.
From-SVN: r168685
2011-01-11 23:37:05 +00:00
Ian Lance Taylor 9a270ad3c0 Add cgo support routines corresponding to the ones in 6g/8g.
From-SVN: r168679
2011-01-11 18:59:30 +00:00
Ian Lance Taylor cd656e2360 re PR go/47176 (libgo doesn't compile if libunicode is installed)
PR go/47176
byte/libbytes.a depends on unicode.gox.

From-SVN: r168512
2011-01-05 14:12:37 +00:00
Ian Lance Taylor b5343013fe Avoid always splitting the stack when calling append and copy.
From-SVN: r167970
2010-12-17 06:33:41 +00:00
Ian Lance Taylor d3de3f21fd re PR bootstrap/46812 (Linux libgo compilation fails when a "libnet" is already installed)
PR bootstrap/46812
Add explicit -I . when building libgo.

From-SVN: r167668
2010-12-09 22:17:25 +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 ac819ba59a re PR other/46789 (go configuration with --prefix=/usr pollutes the /usr/lib namespace)
PR other/46789
	PR bootstrap/46812
	* go-lang.c (go_char_p): Define type and vectors.
	(go_search_dirs): New static variable.
	(go_langhook_handle_option): Use version and version/machine
	directories for -L.
	(go_langhook_post_options): Add non-specific -L paths.
	* Make-lang.in (go/go-lang.o): Define DEFAULT_TARGET_VERSION and
	DEFAULT_TARGET_MACHINE when compiling.
	* gccgo.texi (Invoking gccgo): Only document -L for linking.
	(Import and Export): Don't mention -L for finding import files.

libgo: Install .gox files in version and target specific directory.

From-SVN: r167537
2010-12-07 14:18:35 +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