Ian Lance Taylor
7bea4023f2
runtime: Better SWIG interface for allocating Go memory from C/C++.
...
From-SVN: r188164
2012-06-04 05:34:59 +00:00
Ian Lance Taylor
f3ab5720f7
libgo: Use -fgo-pkgpath.
...
From-SVN: r187485
2012-05-14 22:08:42 +00:00
Ian Lance Taylor
81b9589421
re PR go/52586 (libgo fails to build for mips*64-linux-gnu (reference to undefined name 'SYS_GETDENTS64'))
...
PR go/52586
mksysinfo, syscall: Make sure SYS_GETDENTS64 is defined.
Fixes build on MIPS GNU/Linux.
From-SVN: r186986
2012-04-30 16:04:17 +00:00
Ian Lance Taylor
f04e40afc1
mksysinfo: More fixes to emulate master Go library.
...
From-SVN: r186685
2012-04-22 20:07:23 +00:00
Ian Lance Taylor
f12e8bd5c3
godump.c (go_output_typedef): Dump size of structs.
...
* godump.c (go_output_typedef): Dump size of structs.
mksysinfo, syscall: Change Sizeof names from var to const.
From-SVN: r186678
2012-04-22 18:51:44 +00:00
Ian Lance Taylor
1410c22260
syscall: Additional constants, some type corrections.
...
From-SVN: r186655
2012-04-21 18:49:58 +00:00
Ian Lance Taylor
d25a12fc2d
net, syscall: Use native endianness for GNU/Linux netlink code.
...
From-SVN: r186640
2012-04-20 20:11:28 +00:00
Ian Lance Taylor
ea8505da90
syscall, net: Fix GNU/Linux netlink code for big-endian systems.
...
From-SVN: r186123
2012-04-03 23:44:53 +00:00
Ian Lance Taylor
e0be8a5c20
syscall: Convert errno to error after Exitsyscall.
...
From-SVN: r186020
2012-03-30 21:10:32 +00:00
Ian Lance Taylor
a0c8ad3bdf
compiler, libgo: unsafe.{Sizeof,Alignof,Offsetof} return uintptr.
...
From-SVN: r185946
2012-03-29 03:53:13 +00:00
Ian Lance Taylor
03934a5632
syscall: Fix errno handling in syscall.Syscall and friends.
...
From-SVN: r185746
2012-03-23 18:41:07 +00:00
Ian Lance Taylor
24aea58753
libgo: Export {enter,exit}syscall and use it for getaddrinfo.
...
From-SVN: r185363
2012-03-13 23:01:30 +00:00
Ian Lance Taylor
593f74bbab
libgo: Update to weekly.2012-03-04 release.
...
From-SVN: r185010
2012-03-06 17:57:23 +00:00
Ian Lance Taylor
cbb6491d76
libgo: Update to weekly.2012-02-14 release.
...
From-SVN: r184798
2012-03-02 16:38:43 +00:00
Ian Lance Taylor
b65734ac6c
syscall: Fill out GNU/Linux support.
...
From-SVN: r184669
2012-02-29 20:02:31 +00:00
Ian Lance Taylor
5d46bf0538
libgo: Add mount flags, fallocate, statfs.
...
From-SVN: r184365
2012-02-18 01:22:02 +00:00
Ian Lance Taylor
2b120fe98e
syscall: Change Dup2 to only return an error.
...
From-SVN: r184222
2012-02-14 19:36:31 +00:00
Ian Lance Taylor
94252f4bcc
libgo: Update to weekly.2012-02-07.
...
From-SVN: r184034
2012-02-09 08:19:58 +00:00
Ian Lance Taylor
b806269c9b
compiler, libgo: Use //extern comments rather than __asm__.
...
From-SVN: r183981
2012-02-07 19:26:30 +00:00
Ian Lance Taylor
10f5ffa4e9
syscall: Add syscall.Times.
...
From-SVN: r183826
2012-02-02 06:40:11 +00:00
Ian Lance Taylor
7d18953823
syscall: Add Gettid on GNU/Linux systems.
...
From-SVN: r183775
2012-01-31 20:47:55 +00:00
Ian Lance Taylor
e8738e985e
syscall: Don't use PtraceRegs if it is not defined.
...
From-SVN: r183758
2012-01-31 14:23:07 +00:00
Ian Lance Taylor
4a1a859611
syscall: Support socket control messages.
...
From-SVN: r183745
2012-01-30 23:57:42 +00:00
Ian Lance Taylor
af5c13eb04
syscall: Define IPV6 constants for Irix.
...
From Rainer Orth.
From-SVN: r183652
2012-01-27 22:37:14 +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
af92e38566
libgo: Update to weekly.2012-01-20.
...
From-SVN: r183540
2012-01-25 21:54:22 +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
4cce1836bd
libgo: Only build iopl and ioperm on 386, amd64, alpha GNU/Linux.
...
From-SVN: r183171
2012-01-13 23:35:44 +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
e44d7e3917
syscall: Don't define IPMreq in socket_irix.go.
...
From Rainer Orth.
From-SVN: r182549
2011-12-20 18:17:21 +00:00
Ian Lance Taylor
d48be5dfaf
libgo: Fix use of -D_GNU_SOURCE and friends when building libgo.
...
From-SVN: r182548
2011-12-20 18:14:30 +00:00
Ian Lance Taylor
5f8090a435
syscall: Move Errno into its own file, for RTEMS.
...
From-SVN: r182356
2011-12-15 07:12:03 +00:00
Ian Lance Taylor
de05aad683
syscall: Don't build wait status functions on RTEMS.
...
From-SVN: r182313
2011-12-13 22:07:25 +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
737087cbc8
runtime: Multiplex goroutines onto OS threads.
...
From-SVN: r181772
2011-11-28 05:45:49 +00:00
Ian Lance Taylor
f58abe3caa
syscall: Remove Linux system calls not available in older glibcs.
...
From-SVN: r180784
2011-11-02 17:53:20 +00:00
Ian Lance Taylor
c417a082ea
exp/terminal: Use tcgetattr/tcsetattr rather than ioctl.
...
From-SVN: r180780
2011-11-02 16:50:10 +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
7e547d7b31
syscall: Fix Errstr on systems without strerror_r.
...
From-SVN: r180714
2011-10-31 21:55:22 +00:00
Ian Lance Taylor
b59546bf65
syscall: Remove a couple more 3-parameter match's in mksyscall.awk.
...
From-SVN: r180712
2011-10-31 21:47:30 +00:00
Ian Lance Taylor
f6497cc6b5
syscalls: Rewrite awk script to work with nawk.
...
From-SVN: r180559
2011-10-27 04:56:46 +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
04cc7d7c13
Solaris/Irix compatibility patches.
...
From-SVN: r180440
2011-10-25 18:06:32 +00:00
Ian Lance Taylor
f9367b7c70
Fix Solaris build.
...
From Rainer Orth.
From-SVN: r180439
2011-10-25 17:45:55 +00:00
Ian Lance Taylor
703f56e5cb
Some minor fixes to the rewritten syscall library.
...
From-SVN: r180363
2011-10-24 04:57:08 +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