summaryrefslogtreecommitdiff
path: root/libgo
Commit message (Collapse)AuthorAgeFilesLines
* runtime: use sched_getaffinity for runtime.NumCPU() on Linuxian2012-08-101-32/+21
| | | | | | | | | Fixes Go issue 3921 for gccgo. From Shenghou Ma. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190282 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: support NumCPU() on more platformsian2012-08-0710-42/+210
| | | | | | | | | Added support for Solaris, Irix, *BSD (including Darwin). Still missing support for RTEMS. Fixes issue 3698 in Go issue tracker. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190197 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime, runtime/pprof: Fix runtime/pprof test to pass, enable it.ian2012-07-266-10/+15
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189878 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: correct a logic error in hashmap growth.ian2012-07-231-2/+2
| | | | | | | | | | The bug prevented maps to grow properly to sizes larger than 1.3 million. From Rémy Oudompheng. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189766 138bc75d-0d04-0410-961f-82ee72b054a4
* mksysinfo.sh: Fix handling of glibc 2.16 bits/resource.h.ian2012-07-091-2/+2
| | | | | | | From Jakub Jelinek. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189372 138bc75d-0d04-0410-961f-82ee72b054a4
* gotest: Only look in data segment for ppc64, not ppc*.ian2012-06-251-1/+1
| | | | | | | From Andreas Schwab. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188944 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to Go 1.0.2 release.ian2012-06-2559-169/+1088
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188943 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler, reflect: Quote package path with tabs.ian2012-06-141-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188548 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Make the subdirectory in the CHECK target.ian2012-06-142-216/+2
| | | | | | | From Andreas Schwab. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188547 138bc75d-0d04-0410-961f-82ee72b054a4
* os/user: Use Entersyscall.ian2012-06-131-1/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188496 138bc75d-0d04-0410-961f-82ee72b054a4
* os: Use Entersyscall when reading directories.ian2012-06-131-2/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188494 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler, reflect: Handle package path like gc compiler.ian2012-06-123-4/+24
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188482 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Fix printing of names in stack dumps.ian2012-06-071-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188297 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Use dl_iterate_phdr to get TLS size.ian2012-06-074-36/+63
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188290 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Comment out code adding TLS size to stack size.ian2012-06-051-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188238 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Fix call to _dl_get_tls_static_info for i386.ian2012-06-054-3/+31
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188230 138bc75d-0d04-0410-961f-82ee72b054a4
* mksysinfo: Fix for recent change to glibc <sys/resource.h>.ian2012-06-051-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188228 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Better SWIG interface for allocating Go memory from C/C++.ian2012-06-043-3/+149
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188164 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: More efficient implementation of trampolines.ian2012-05-253-26/+88
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187899 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Fix cast error in print.c on 32-bit systems.ian2012-05-251-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187889 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Make runtime.Stack actually work.ian2012-05-244-66/+61
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187854 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Correct definition of __go_file_line to match declaration.ian2012-05-241-1/+1
| | | | | | | From Rainer Orth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187851 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Copy runtime_printf from other Go library.ian2012-05-241-0/+310
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187850 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Copy runtime_printf from other Go library.ian2012-05-2414-185/+106
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187848 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Tweak runtime.Callers for Go 1 compatibility.ian2012-05-221-1/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187781 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Use getcontext, not setjmp, to save regs for GC.ian2012-05-222-7/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187777 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Print stack trace on panic or signal.ian2012-05-178-61/+262
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187623 138bc75d-0d04-0410-961f-82ee72b054a4
* log/syslog: Fix name of C function syslog_c.ian2012-05-161-1/+1
| | | | | | | From Rainer Orth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187596 138bc75d-0d04-0410-961f-82ee72b054a4
* debug/dwarf: Fix handling of LineSetFile.ian2012-05-161-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187578 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Make all variables used across getcontext volatile.ian2012-05-151-10/+17
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187549 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Use -fgo-pkgpath.ian2012-05-1436-475/+524
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187485 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to Go 1.0.1 release.ian2012-05-0446-97/+430
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187163 138bc75d-0d04-0410-961f-82ee72b054a4
* PR go/52586ian2012-04-302-1/+13
| | | | | | | | | mksysinfo, syscall: Make sure SYS_GETDENTS64 is defined. Fixes build on MIPS GNU/Linux. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186986 138bc75d-0d04-0410-961f-82ee72b054a4
* PR go/52358ian2012-04-274-0/+175
| | | | | | | configure, runtime: Provide i386 long double math functions if needed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186915 138bc75d-0d04-0410-961f-82ee72b054a4
* PR go/52358ian2012-04-271-1/+12
| | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186913 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Correct syscall.Setenv for systems that don't have setenv.ian2012-04-271-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186911 138bc75d-0d04-0410-961f-82ee72b054a4
* mksysinfo, net: Always define syscall.SO_REUSEPORT.ian2012-04-262-4/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186857 138bc75d-0d04-0410-961f-82ee72b054a4
* PR go/52341ian2012-04-251-2/+3
| | | | | | | crypto/rand: Use io.ReadFull when reading from /dev/urandom. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186803 138bc75d-0d04-0410-961f-82ee72b054a4
* PR go/52583ian2012-04-257-9/+166
| | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186801 138bc75d-0d04-0410-961f-82ee72b054a4
* gotest: Remove race in use of ../testdata.ian2012-04-241-14/+16
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186781 138bc75d-0d04-0410-961f-82ee72b054a4
* mksysinfo: Only define PathMax if PATH_MAX is defined.ian2012-04-241-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186778 138bc75d-0d04-0410-961f-82ee72b054a4
* * go-lang.c (go_langhook_init): Set MPFR precision to 256.ian2012-04-231-1/+1
| | | | | | | time: Adjust float expression so that it first integer context. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186727 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Make sure log/syslog subdirectory exists before using it.ian2012-04-232-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186715 138bc75d-0d04-0410-961f-82ee72b054a4
* mksysinfo: More fixes to emulate master Go library.ian2012-04-228-13/+30
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186685 138bc75d-0d04-0410-961f-82ee72b054a4
* mksysinfo: Define more structs.ian2012-04-221-0/+50
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186683 138bc75d-0d04-0410-961f-82ee72b054a4
* * godump.c (go_output_typedef): Dump size of structs.ian2012-04-222-46/+33
| | | | | | | mksysinfo, syscall: Change Sizeof names from var to const. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186678 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall: Additional constants, some type corrections.ian2012-04-216-7/+95
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186655 138bc75d-0d04-0410-961f-82ee72b054a4
* net, syscall: Use native endianness for GNU/Linux netlink code.ian2012-04-207-67/+14
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186640 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler, runtime: Add explicit checks for zero and overflow division.ian2012-04-201-1/+7
| | | | | | | | | * lang.opt: Add -fgo-check-divide-zero and -fgo-check-divide-overflow. * gccgo.texi (Invoking gccgo): Document new options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186637 138bc75d-0d04-0410-961f-82ee72b054a4
* net/http: Ignore sigaltstack when running strace in test.ian2012-04-201-1/+1
| | | | | | | Avoids bug in strace 4.5.20 on powerpc-unknown-linux-gnu. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186635 138bc75d-0d04-0410-961f-82ee72b054a4