Ian Lance Taylor
4d901dd735
os: Clean up directory reading code.
...
From-SVN: r194237
2012-12-06 02:00:13 +00:00
Ian Lance Taylor
03a6c305d3
syscall: Fix splice syscall.
...
From-SVN: r194185
2012-12-05 08:49:01 +00:00
Ian Lance Taylor
744c3195ef
compiler, runtime: Track fields with tag go:"track".
...
* go-gcc.cc: Include "output.h".
(global_variable): Add is_unique_section parameter.
(global_variable_set_init): Adjust unique section if necessary.
* Make-lang.in (go/go-gcc.o): Add dependency on output.h.
From-SVN: r193945
2012-11-29 18:11:17 +00:00
Ian Lance Taylor
40ff695f5c
syscall: Fix handling of Unix domain @ addresses.
...
From-SVN: r193783
2012-11-24 20:46:59 +00:00
Ian Lance Taylor
fabcaa8df3
libgo: Update to current version of master library.
...
From-SVN: r193688
2012-11-21 07:03:38 +00:00
Ian Lance Taylor
a3ce4803ea
reflect: Fix invalid sharing in valueInterface.
...
From-SVN: r193614
2012-11-19 05:34:08 +00:00
Ian Lance Taylor
86f2731e63
syscall: Force first letter of error message to lower case.
...
From-SVN: r193449
2012-11-12 19:34:52 +00:00
Ian Lance Taylor
7e03f00470
reflect: Fix bug comparing struct field types.
...
From-SVN: r193395
2012-11-10 20:24:04 +00:00
Ian Lance Taylor
fb3f38da2a
compiler, libgo: Fixes to prepare for 64-bit int.
...
From-SVN: r193254
2012-11-06 18:28:21 +00:00
Ian Lance Taylor
ae0b23e2ff
os: support more OSes
...
From-SVN: r193172
2012-11-05 17:36:40 +00:00
Ian Lance Taylor
ff95e2ab0b
syscall, mksysinfo: Prepare syscall package for 64-bit int.
...
From-SVN: r193112
2012-11-02 23:39:36 +00:00
Ian Lance Taylor
776f27a67f
compiler, runtime: More steps toward separating int and intgo.
...
From-SVN: r193059
2012-11-01 03:02:13 +00:00
Ian Lance Taylor
85c2f96c1c
syscall: fix creds_test to reliably close os.File
...
Uncovered by Uros Bizjak.
Before this patch the test would close the file descriptor but
not the os.File. When the os.File was GC'ed, the finalizer
would close the file descriptor again. That would cause
problems if the same file descriptor were returned by a later
call to open in another test.
On my system:
> GOGC=30 go test
--- FAIL: TestPassFD (0.04 seconds)
passfd_test.go:62: FileConn: dup: bad file descriptor
FAIL
From-SVN: r192854
2012-10-26 17:50:10 +00:00
Ian Lance Taylor
f99a463f8a
libgo: Solaris portability patches.
...
From Rainer Orth.
From-SVN: r192819
2012-10-25 18:26:34 +00:00
Ian Lance Taylor
8d672b2640
runtime: Disable crash tests that runs go tool.
...
From-SVN: r192735
2012-10-23 18:01:06 +00:00
Ian Lance Taylor
4ccad563d2
libgo: Update to current sources.
...
From-SVN: r192704
2012-10-23 04:31:11 +00:00
Ian Lance Taylor
bd2e46c825
libgo: Update to Go 1.0.3.
...
From-SVN: r192025
2012-10-03 05:27:36 +00:00
Ian Lance Taylor
0e56e59065
libgo: Use libbacktrace rather than debug/elf registration.
...
From-SVN: r191831
2012-09-28 14:48:30 +00:00
Ian Lance Taylor
a85cfff41d
debug/elf, debug/dwarf: DWARF line number fixes.
...
Support DW_AT_high_pc as a constant.
Support DW_AT_ranges.
PR gcc/52583
From-SVN: r191008
2012-09-06 05:28:02 +00:00
Ian Lance Taylor
c92900d1db
compiler: Remove old handling of unsafe.Pointer in type assertions.
...
Fixes issue 17.
From-SVN: r190608
2012-08-23 00:20:48 +00:00
Ian Lance Taylor
1fae9801e4
runtime, runtime/pprof: Fix runtime/pprof test to pass, enable it.
...
From-SVN: r189878
2012-07-26 01:57:04 +00:00
Ian Lance Taylor
08a680a887
libgo: Update to Go 1.0.2 release.
...
From-SVN: r188943
2012-06-25 16:20:03 +00:00
Ian Lance Taylor
c789c04510
compiler, reflect: Quote package path with tabs.
...
From-SVN: r188548
2012-06-14 05:04:04 +00:00
Ian Lance Taylor
73b5b93a59
os/user: Use Entersyscall.
...
From-SVN: r188496
2012-06-13 05:56:09 +00:00
Ian Lance Taylor
57d195e224
os: Use Entersyscall when reading directories.
...
From-SVN: r188494
2012-06-13 04:47:25 +00:00
Ian Lance Taylor
9690ac05c9
compiler, reflect: Handle package path like gc compiler.
...
From-SVN: r188482
2012-06-12 20:33:22 +00:00
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
eaca667ecf
log/syslog: Fix name of C function syslog_c.
...
From Rainer Orth.
From-SVN: r187596
2012-05-16 14:52:03 +00:00
Ian Lance Taylor
c39cbb22b0
debug/dwarf: Fix handling of LineSetFile.
...
From-SVN: r187578
2012-05-16 05:36:31 +00:00
Ian Lance Taylor
f3ab5720f7
libgo: Use -fgo-pkgpath.
...
From-SVN: r187485
2012-05-14 22:08:42 +00:00
Ian Lance Taylor
33e337e34d
libgo: Update to Go 1.0.1 release.
...
From-SVN: r187163
2012-05-04 15:01:11 +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
6c88c77ec7
re PR go/52358 (math FAILs on Solaris 8 and 9)
...
PR go/52358
math: Work around bug in Solaris 9 implementation of ldexp.
The bug is that ldexp(-1, -1075) should return -0, but the
Solaris 9 implementation returns +0.
From-SVN: r186913
2012-04-27 16:32:42 +00:00
Ian Lance Taylor
181c7267c7
mksysinfo, net: Always define syscall.SO_REUSEPORT.
...
From-SVN: r186857
2012-04-26 04:25:56 +00:00
Ian Lance Taylor
2b210b6f0b
re PR go/52341 (crypto/rand FAILs before Solaris 11)
...
PR go/52341
crypto/rand: Use io.ReadFull when reading from /dev/urandom.
From-SVN: r186803
2012-04-25 04:40:49 +00:00
Ian Lance Taylor
b685de12d2
re PR go/52583 (Several new go testsuite failues on Solaris)
...
PR go/52583
net: Solaris fixes.
In particular fix fd_select.go to handle the case where a file
descriptor is closed by one goroutine while another goroutine
is waiting for it.
From-SVN: r186801
2012-04-25 04:26:12 +00:00
Ian Lance Taylor
1ec20ea138
go-lang.c (go_langhook_init): Set MPFR precision to 256.
...
* go-lang.c (go_langhook_init): Set MPFR precision to 256.
time: Adjust float expression so that it first integer context.
From-SVN: r186727
2012-04-23 21:39:12 +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
0e27a180fd
net/http: Ignore sigaltstack when running strace in test.
...
Avoids bug in strace 4.5.20 on powerpc-unknown-linux-gnu.
From-SVN: r186635
2012-04-20 18:51:05 +00:00
Ian Lance Taylor
76c0db7391
debug/dwarf: Fix address lookups for different types of lines.
...
This fixes the lookup when, e.g., discriminators force adding
new line arrays.
From-SVN: r186633
2012-04-20 18:44:09 +00:00
Ian Lance Taylor
cf1f0eb7cc
runtime: Disable memory profiling in gc_test.
...
From-SVN: r186631
2012-04-20 18:40:14 +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
a1552fc3ec
libgo: Update to weekly.2012-03-27 aka go1 release.
...
From-SVN: r186029
2012-03-30 22:36:44 +00:00
Ian Lance Taylor
99002f8366
File removed in weekly.2012-03-22 release.
...
From-SVN: r186028
2012-03-30 22:14:14 +00:00
Ian Lance Taylor
9a18821cfc
libgo: Update to weekly.2012-03-22.
...
From-SVN: r186026
2012-03-30 22:09:55 +00:00
Ian Lance Taylor
456fba2651
libgo: Update to weekly.2012-03-13.
...
From-SVN: r186023
2012-03-30 21:27:11 +00:00
Ian Lance Taylor
e0be8a5c20
syscall: Convert errno to error after Exitsyscall.
...
From-SVN: r186020
2012-03-30 21:10:32 +00:00