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
bc9201591d
gotest: Remove race in use of ../testdata.
...
From-SVN: r186781
2012-04-24 20:13:12 +00:00
Ian Lance Taylor
1a985a5642
mksysinfo: Only define PathMax if PATH_MAX is defined.
...
From-SVN: r186778
2012-04-24 19:12:26 +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
6eea77093d
libgo: Make sure log/syslog subdirectory exists before using it.
...
From-SVN: r186715
2012-04-23 17:02:54 +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
df32732fa8
mksysinfo: Define more structs.
...
From-SVN: r186683
2012-04-22 19:26:01 +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
63d1e46df0
compiler, runtime: Add explicit checks for zero and overflow division.
...
* lang.opt: Add -fgo-check-divide-zero and
-fgo-check-divide-overflow.
* gccgo.texi (Invoking gccgo): Document new options.
From-SVN: r186637
2012-04-20 19:21:39 +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
8a72417502
runtime: Ignore stack sizes when deciding when to GC.
...
Also allocate heap bitmaps bit in page size units and clear
context when putting G structures on free list.
From-SVN: r186607
2012-04-20 04:58:26 +00:00
Ian Lance Taylor
8198dc134f
gotest: Don't get confused by data tables named Test on PPC.
...
From-SVN: r186605
2012-04-20 04:49:19 +00:00
Ian Lance Taylor
b059fba469
syscall: Add more constants.
...
From-SVN: r186144
2012-04-04 18:50:09 +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
8db6380aa7
mksysinfo.sh: Add some more networking constants.
...
From-SVN: r186114
2012-04-03 19:42:24 +00:00
Ian Lance Taylor
572a2f6886
gotest: Fix finding functions on PPC.
...
From-SVN: r186112
2012-04-03 18:26:57 +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
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
199ebde370
mksysinfo: Fix use of _in6_addr in _zone_net_addr_t.
...
From Rainer Orth.
From-SVN: r185938
2012-03-28 23:19:06 +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
42cd874911
re PR go/52557 (Timex undefined on arm-linux-gnueabi)
...
PR go/52557
mksysinfo: Fix handling of timex for ARM GNU/Linux.
From-SVN: r185354
2012-03-13 20:56:23 +00:00
Ian Lance Taylor
896977b38f
debug/dwarf: Support DWARF versions 3 and 4.
...
From-SVN: r185126
2012-03-09 06:35:00 +00:00
Ian Lance Taylor
060b4284aa
debug/elf: Don't crash if line numbers are not available.
...
From-SVN: r185124
2012-03-09 05:33:10 +00:00
Ian Lance Taylor
0effc3f961
libgo: Implement and use runtime.Caller, runtime.Func.FileLine.
...
From-SVN: r185025
2012-03-07 01:16:20 +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
c3f87aa909
runtime: Implement runtime.Callers.
...
From-SVN: r184944
2012-03-05 17:07:37 +00:00
Ian Lance Taylor
5e60b5708e
re PR go/52342 (64-bit go.test/test/chan/doubleselect.go times out on Solaris/SPARC)
...
PR go/52342
runtime: Better big-endian identity hash function.
From-SVN: r184914
2012-03-05 06:39:08 +00:00
Ian Lance Taylor
dbe1e4a5a6
libgo: Fix Solaris ustat.h test.
...
From-SVN: r184913
2012-03-05 06:04:14 +00:00
Ian Lance Taylor
2aeaf0fb26
libgo: Try to fix use of <ustat.h> for Solaris and older GNU/Linux.
...
From-SVN: r184828
2012-03-02 21:07:52 +00:00
Ian Lance Taylor
cd33b08fbd
runtime: Add type casts to fix Solaris build.
...
From Rainer Orth.
From-SVN: r184823
2012-03-02 20:48:21 +00:00
Ian Lance Taylor
501699af16
libgo: Update to weekly.2012-02-22 release.
...
From-SVN: r184819
2012-03-02 20:01:37 +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
116b061e74
mksysinfo: Define MADV_ constants for madvise.
...
From-SVN: r184752
2012-03-01 17:22:29 +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
5c46e29317
runtime: Call exit rather than _exit.
...
This fixes --coverage and perhaps other things as well.
From-SVN: r184642
2012-02-28 20:57:15 +00:00
Ian Lance Taylor
2ef7cdff1e
runtime: Fix typo in go-nosys.c.
...
From Rainer Orth.
From-SVN: r184569
2012-02-25 02:11:29 +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
061793a4cc
re PR go/52266 (syntax error in libgo/configure)
...
PR go/52266
libgo: Remove accidental AC_INCLUDES_DEFAULT from configure script.
From-SVN: r184345
2012-02-17 15:44:29 +00:00
Ian Lance Taylor
a64b24bdef
re PR go/51874 (Many libgo testsuite failures on IRIX)
...
PR go/51874
math: Don't use libc log2 and trunc functions.
From-SVN: r184300
2012-02-16 07:17:03 +00:00
Ian Lance Taylor
ca59d219fe
runtime: Support broken makecontext on Solaris 8/9.
...
From Rainer Orth.
From-SVN: r184289
2012-02-15 22:29:35 +00:00
Ian Lance Taylor
35ea42ebad
re PR go/48407 (libgo/configure --without-libffi doesn't work)
...
PR go/48407
runtime: Permit building libgo without libffi.
From-SVN: r184234
2012-02-14 20:47:35 +00:00