Ian Lance Taylor
405ca10418
libgo: Update to current Go library.
...
From-SVN: r172106
2011-04-07 17:09:10 +00:00
Ian Lance Taylor
5c8e495222
libgo: Always use AM_LDFLAGS when linking libgo.la.
...
This ensures that we pass -fsplit-stack as required.
From-SVN: r172018
2011-04-06 06:01:53 +00:00
Ian Lance Taylor
49fd1b338c
gotest: Add external timeout if internal timeout fails.
...
From-SVN: r172003
2011-04-05 21:11:35 +00:00
Ian Lance Taylor
69dd762a99
gotest: Avoid echo -n.
...
From-SVN: r172000
2011-04-05 19:53:33 +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
Rainer Orth
06ec98415a
libgo: Always initialize semaphores.
...
2011-04-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR go/48222
* runtime/malloc.goc (runtime_mallocinit): Call
runtime_Mprof_Init, runtime_initfintab.
* runtime/cpuprof.c (runtime_cpuprofinit): New function.
* runtime/runtime.h (runtime_cpuprofinit): Declare it.
* runtime/go-main.c (main): Use it.
From-SVN: r171960
2011-04-04 23:43:59 +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
bb0ce33a0e
libgo: Sort test output in libgo.sum and libgo.log.
...
From-SVN: r171868
2011-04-02 00:29:49 +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
de90644af8
libgo: Set name of test when using DejaGNU tests.
...
From-SVN: r171805
2011-03-31 23:03:20 +00:00
Ian Lance Taylor
4bce572db2
re PR go/48242 (gotest needs timeout mechanism)
...
PR go/48242
libgo: Add timeout for tests.
From-SVN: r171803
2011-03-31 22:36:10 +00:00
Ian Lance Taylor
c9103dde96
libgo: Remove unnecessary EINTR checks.
...
We always use SA_RESTART with signals, so
read/write/etc. should never return EINTR.
From-SVN: r171802
2011-03-31 22:19:54 +00:00
Ian Lance Taylor
35ca26acc6
libgo/syscalls: Use _C_long as the type of the select bits array.
...
From-SVN: r171799
2011-03-31 20:37:31 +00:00
Ian Lance Taylor
b5ad7facf3
libgo Makefile: Fix typo in test case name.
...
From-SVN: r171793
2011-03-31 16:49:36 +00:00
Ian Lance Taylor
34ccb9c02a
libgo: Generate DejaGNU like .sum and .log files for "make check".
...
From-SVN: r171791
2011-03-31 16:11:56 +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
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
efbb12ae8a
re PR go/48312 (http, rpc, websocket tests hang on Solaris 2/x86)
...
PR go/48312
Fix fd_select.go for changes in FD handling.
We have to wake up the goroutine waiting in select each time
we change the set of descriptors we are waiting for, unlike
epoll.
From-SVN: r171623
2011-03-28 18:35:53 +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
c570af00f6
Remove closedchan function.
...
From-SVN: r171577
2011-03-27 18:06:50 +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
3137991dfc
Tuple receives indicate whether channel is closed.
...
From-SVN: r171380
2011-03-24 06:01:27 +00:00
Ian Lance Taylor
4bfc521c9e
Send on a closed channel panics.
...
Calling close on a closed channel panics.
Don't limit number of receives on a closed channel.
From-SVN: r171364
2011-03-23 21:13:57 +00:00
Ian Lance Taylor
4573f2cb64
Missed test data in libgo update.
...
From-SVN: r171362
2011-03-23 21:09:55 +00:00
Ian Lance Taylor
0d3e7f5d44
Somehow missed this addition when updating the library.
...
From-SVN: r171361
2011-03-23 21:04:39 +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
7b5da51d4f
Don't catch LIBPROF in Go code.
...
From-SVN: r171077
2011-03-16 23:18:40 +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
25d5c0b020
re PR go/48020 (libgo flag test FAILs on Solaris 2)
...
PR go/48020
gotest: Pass -v to nm to avoid sorting on Solaris.
From-SVN: r170842
2011-03-10 00:51:14 +00:00
Ian Lance Taylor
bef18456b7
Solaris specific syslog support.
...
From-SVN: r170837
2011-03-09 22:13:09 +00:00
Ian Lance Taylor
0ad3134110
libgo/README.gcc: Mention GCCGO_RUN_ALL_TESTS.
...
From-SVN: r170828
2011-03-09 19:17:56 +00:00
Ian Lance Taylor
a33d93c3df
re PR go/48019 (Need to handle EINTR in libgo testsuite)
...
PR go/48019
Ignore EINTR in socket connect.
From-SVN: r170811
2011-03-09 06:57:04 +00:00
Ian Lance Taylor
7b5e671326
re PR go/48019 (Need to handle EINTR in libgo testsuite)
...
PR go/48019
Ignore EINTR in runtime_lock_full.
From-SVN: r170810
2011-03-09 06:31:37 +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
a601335076
re PR go/47910 (typo in __go_map_next_prime)
...
PR go/47910
Correct search for next prime in libgo map code.
From-SVN: r170808
2011-03-09 05:32:36 +00:00
Ian Lance Taylor
26bc022b8f
Solaris libgo testsuite fixes.
...
From-SVN: r170762
2011-03-07 23:37:12 +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
d8b878dc29
Permit garbage collection on any compiler generated memory allocation.
...
From-SVN: r170760
2011-03-07 22:19:50 +00:00
Ian Lance Taylor
691a924baf
Avoid race condition manipulating heap when goroutine exits.
...
From-SVN: r170758
2011-03-07 21:56:40 +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