Ian Lance Taylor
1c69e5e28a
runtime: Correct ENOSYS functions.
...
From-SVN: r183852
2012-02-02 22:58:54 +00:00
Ian Lance Taylor
eb6a1fe097
libgo: Fix merge errors shown on Solaris.
...
From Rainer Orth.
From-SVN: r183651
2012-01-27 22:34:53 +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
98dfd7ff16
runtime: Make builtin print exactly match gc builtin print.
...
From-SVN: r183378
2012-01-21 21:58:09 +00:00
Ian Lance Taylor
1efa38d1a7
libgo: Solaris and Irix compatibility patches.
...
From Rainer Orth.
From-SVN: r183246
2012-01-17 14:18:39 +00:00
Ian Lance Taylor
df4aa89a5e
libgo: Update to weekly.2011-12-22.
...
From-SVN: r183150
2012-01-13 05:11:45 +00:00
Ian Lance Taylor
9a0e3259f4
libgo: Update to weekly.2011-12-14.
...
From-SVN: r183118
2012-01-12 01:31:45 +00:00
Ian Lance Taylor
f9f9698753
compiler, runtime: Implement struct and array comparisons.
...
From-SVN: r182971
2012-01-06 21:47:49 +00:00
Ian Lance Taylor
a05fe19071
runtime: Fix missing USING_SPLIT_STACK ifdef.
...
From Uros Bizjak.
From-SVN: r182633
2011-12-22 19:07:12 +00:00
Ian Lance Taylor
a6dcb7d465
runtime: Catch signals on altstack, disable splitstack signal blocking.
...
From-SVN: r182607
2011-12-21 22:24:47 +00:00
Ian Lance Taylor
d8fa39bfc8
libgo/runtime: Don't define _GNU_SOURCE in source code.
...
From-SVN: r182550
2011-12-20 18:49:40 +00:00
Ian Lance Taylor
03eee7f75c
runtime: RTEMS build fixes.
...
From Joel Sherrill.
From-SVN: r182309
2011-12-13 21:59:26 +00:00
Ian Lance Taylor
7b1c3dd9e6
libgo: Update to weekly.2011-12-02.
...
From-SVN: r182295
2011-12-13 19:16:27 +00:00
Ian Lance Taylor
ab61e9c4da
libgo: Update to weekly.2011-11-18.
...
From-SVN: r182266
2011-12-12 23:40:51 +00:00
Ian Lance Taylor
ec2c72551e
runtime: make print() built-in write to stderr.
...
Fixes issue 2294.
From-SVN: r182167
2011-12-09 16:42:40 +00:00
Ian Lance Taylor
c19bd76920
libgo: Add back tests of syscall time.
...
From-SVN: r182075
2011-12-07 01:55:49 +00:00
Ian Lance Taylor
9c63abc9a1
libgo: Update to weekly 2011-11-09.
...
From-SVN: r182073
2011-12-07 01:11:29 +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
f4c016e605
runtime: Remove temporary runtime_cond_wait function.
...
From-SVN: r181897
2011-12-01 23:50:48 +00:00
Ian Lance Taylor
17dcf07581
runtime: Rename sigignore to sig_ignore for Solaris.
...
From-SVN: r181885
2011-12-01 17:08:12 +00:00
Ian Lance Taylor
3e68d6d75a
compiler/runtime: Copy channel implementation from master library.
...
From-SVN: r181874
2011-12-01 08:06:16 +00:00
Ian Lance Taylor
b87974949f
runtime: Copy runtime_panicstring from master library.
...
From-SVN: r181830
2011-11-30 00:21:52 +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
421ecf992e
runtime: If O_CLOEXEC is not defined, define it as 0.
...
From-SVN: r181814
2011-11-29 19:26:00 +00:00
Ian Lance Taylor
737087cbc8
runtime: Multiplex goroutines onto OS threads.
...
From-SVN: r181772
2011-11-28 05:45:49 +00:00
Ian Lance Taylor
48e7d50e9f
runtime: New lock/note implementation.
...
From-SVN: r181633
2011-11-22 20:24:44 +00:00
Ian Lance Taylor
5c262e9444
runtime: Use some of 6g runtime.c for easier merging.
...
From-SVN: r181368
2011-11-14 22:26:45 +00:00
Ian Lance Taylor
34277c5228
Introduce G structure and thread-local global g.
...
From-SVN: r181301
2011-11-11 21:02:48 +00:00
Ian Lance Taylor
787f74b487
runtime: Don't ask mmap for wrapping memory.
...
From-SVN: r180732
2011-11-01 05:20:40 +00:00
Ian Lance Taylor
3d43396098
runtime: Correct test of mmap return value.
...
From-SVN: r180731
2011-11-01 04:55:15 +00:00
Ian Lance Taylor
f0080f6cf9
syscall: Use sched_yield rather than pthread_yield.
...
From-SVN: r180716
2011-10-31 22:09:21 +00:00
Ian Lance Taylor
d8f412571f
Update Go library to last weekly.
...
From-SVN: r180552
2011-10-26 23:57:58 +00:00
Ian Lance Taylor
f29ce5f5f1
Implement predeclared delete function.
...
From-SVN: r180438
2011-10-25 17:21:07 +00:00
Ian Lance Taylor
09367c0d60
Don't permit close of receive-only channel.
...
Better panic on attempt to close nil channel.
From-SVN: r180437
2011-10-25 16:35:24 +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
e6f8e59016
Support nil maps.
...
From-SVN: r179054
2011-09-21 17:37:50 +00:00
Ian Lance Taylor
f6cde0add6
Fix channels with element type of size zero.
...
From-SVN: r179030
2011-09-21 00:56:28 +00:00
Ian Lance Taylor
6fa2979911
Fix calling make with slice whose element type is size zero.
...
From-SVN: r179019
2011-09-20 22:06:20 +00:00
Ian Lance Taylor
31aeabd3c5
Block forever on send/receive to/from nil channel.
...
From-SVN: r178920
2011-09-16 22:56:32 +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
b9f04a8461
Fix defer when not calling recover in function with named results.
...
From-SVN: r178905
2011-09-16 05:47:20 +00:00
Ian Lance Taylor
ae06570eb6
libgo/runtime: Change std::abort to abort.
...
From-SVN: r176181
2011-07-11 20:16:01 +00:00
Ian Lance Taylor
de38eefaa7
Change builtin make to runtime call at lowering time.
...
Use kindNoPointers as 6g does.
* Make-lang.in (go/expressions.o): Depend on $(GO_RUNTIME_H).
From-SVN: r175020
2011-06-14 13:51:16 +00:00
Ian Lance Taylor
3b8dffe701
Change builtin make to runtime call at lowering time.
...
Use kindNoPointers as 6g does.
* Make-lang.in (go/expressions.o): Depend on $(GO_RUNTIME_H).
From-SVN: r175008
2011-06-14 05:53:10 +00:00
Ian Lance Taylor
891daafaf8
Use backend interface for map descriptors.
...
From-SVN: r174943
2011-06-11 06:21:55 +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
9ff56c9570
Update to current version of Go library.
...
From-SVN: r173931
2011-05-20 00:18:15 +00:00
Ian Lance Taylor
4e7e7a49b7
More uses of backend interface for types.
...
From-SVN: r173507
2011-05-06 20:06:29 +00:00
Ian Lance Taylor
e1c2f29025
libgo: Fix append declaration.
...
From Rainer Orth.
From-SVN: r172659
2011-04-18 17:31:00 +00:00