Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-10-01 | reflect: Fix reflect.Call with function following non-pointer. | Ian Lance Taylor | 2 | -2/+13 | |
From-SVN: r203052 | |||||
2013-09-27 | reflect: Copy stack values onto heap in amd64 MakeFunc. | Ian Lance Taylor | 1 | -2/+8 | |
From-SVN: r202995 | |||||
2013-09-27 | reflect: Implement MakeFunc for 386. | Ian Lance Taylor | 6 | -5/+264 | |
From-SVN: r202993 | |||||
2013-09-27 | reflect: Implement MakeFunc for amd64. | Ian Lance Taylor | 8 | -88/+676 | |
From-SVN: r202982 | |||||
2013-09-17 | reflect: Fix bug calling method on indirect value. | Ian Lance Taylor | 1 | -1/+7 | |
The gccgo-specific iword function was checking v.kind, but for a method value that is always Func. Fix to check v.typ.Kind() instead. From-SVN: r202670 | |||||
2013-09-03 | compiler, runtime: Use runtime functions to pass closure value. | Ian Lance Taylor | 6 | -27/+36 | |
This changes the compiler and runtime to not pass a closure value as the last argument, but to instead pass it via __go_set_closure and retrieve it via __go_get_closure. This eliminates the need for function descriptor wrapper functions. It will make it possible to retrieve the closure value in a reflect.MakeFunc function. From-SVN: r202233 | |||||
2013-08-23 | libgo: Update libtool.m4 from upstream to recognize powerpcle. | Ian Lance Taylor | 2 | -8/+20 | |
From-SVN: r201933 | |||||
2013-08-09 | net: give C.getaddrinfo a hint that we only want SOCK_STREAM answers | Ian Lance Taylor | 1 | -1/+2 | |
This should be more efficient everywhere, and appears to be required on Solaris. Copied from master repository. From-SVN: r201637 | |||||
2013-08-02 | syscall: Change AWK split call to use []+ rather than []*. | Ian Lance Taylor | 1 | -2/+2 | |
Using []* fails with the awk that is part of busybox: https://groups.google.com/d/msg/gofrontend-dev/NbQsG_AMDpY/sXCc03kkwn4J From-SVN: r201455 | |||||
2013-07-24 | runtime: Handle allocating memory in cgo/SWIG function. | Ian Lance Taylor | 1 | -2/+19 | |
A function that returns an interface type and returns a value that requires memory allocation will try to allocate while appearing to be in a syscall. This patch lets that work. From-SVN: r201226 | |||||
2013-07-24 | runtime: Check _end rather than end to find end of program. | Ian Lance Taylor | 1 | -2/+2 | |
This fixes a problem on Solaris, where end is not defined in the main program but comes from some shared library. This only matters for 32-bit targets. From-SVN: r201220 | |||||
2013-07-24 | net: Only use GNU/Linux unix socket abstract paths on GNU/Linux. | Ian Lance Taylor | 5 | -47/+49 | |
From-SVN: r201217 | |||||
2013-07-24 | runtime: Move new 1.1.1 functions from thread-linux.c to runtime.c. | Ian Lance Taylor | 2 | -46/+47 | |
This way they are compiled on non-GNU/Linux systems. From-SVN: r201209 | |||||
2013-07-24 | net/http: Don't try to trace sendfile64 on alpha. | Ian Lance Taylor | 1 | -1/+6 | |
From Uros Bizjak. From-SVN: r201206 | |||||
2013-07-23 | log/syslog: Restore interface to make this work on Solaris again. | Ian Lance Taylor | 3 | -13/+31 | |
From-SVN: r201188 | |||||
2013-07-23 | net: Remove Solaris-specific version of listenerSockaddr. | Ian Lance Taylor | 1 | -29/+0 | |
Solaris will use the version in sock_unix.go. From-SVN: r201183 | |||||
2013-07-23 | runtime: Declare epoll_create1 if necessary. | Ian Lance Taylor | 1 | -0/+4 | |
From-SVN: r201181 | |||||
2013-07-23 | runtime: Support cgo callbacks from threads started by C. | Ian Lance Taylor | 5 | -20/+131 | |
This adjusts the extram support to work with gccgo. There are some corresponding changes to cgo in https://codereview.appspot.com/11406047/ . From-SVN: r201179 | |||||
2013-07-23 | runtime: Ignore SIGPROF if not on a Go thread. | Ian Lance Taylor | 1 | -6/+7 | |
From-SVN: r201154 | |||||
2013-07-16 | runtime: Fix build on non-split-stack systems. | Ian Lance Taylor | 1 | -2/+6 | |
From-SVN: r200983 | |||||
2013-07-16 | libgo: Update to Go 1.1.1. | Ian Lance Taylor | 620 | -122654/+23893 | |
From-SVN: r200974 | |||||
2013-06-18 | compiler, runtime: Use function descriptors. | Ian Lance Taylor | 16 | -53/+104 | |
This changes the representation of a Go value of function type from being a pointer to function code (like a C function pointer) to being a pointer to a struct. The first field of the struct points to the function code. The remaining fields, if any, are the addresses of variables referenced in enclosing functions. For each call to a function, the address of the function descriptor is passed as the last argument. This lets us avoid generating trampolines, and removes the use of writable/executable sections of the heap. From-SVN: r200181 | |||||
2013-03-01 | runtime, testing/quick: libffi doesn't handle complex on Alpha. | Ian Lance Taylor | 2 | -3/+16 | |
From Uros Bizjak. From-SVN: r196389 | |||||
2013-02-28 | runtime: Don't block SIGTRAP while creating a new thread. | Ian Lance Taylor | 1 | -0/+6 | |
Thanks to Uros Bizjak. From-SVN: r196362 | |||||
2013-02-20 | re PR go/56171 (syscall FAILs on Solaris) | Ian Lance Taylor | 6 | -29/+103 | |
PR go/56171 syscall: Solaris fixes for passing file descriptor. From Rainer Orth. From-SVN: r196180 | |||||
2013-02-20 | re PR go/56320 (Several libgo tests FAIL on 64-bit Solaris/x86) | Ian Lance Taylor | 1 | -3/+4 | |
PR go/56320 runtime: Support Solaris AMD64 in lfstack. The address space layout is similar on SPARC64 and AMD64 when running Solaris. From-SVN: r196179 | |||||
2013-02-15 | runtime: Do not reserve huge amount of swap on 32 bit architectures. | Ian Lance Taylor | 1 | -1/+9 | |
The mmap() call which reserves the arena should have MAP_NORESERVE flag as in typical cases this memory will never be (fully) needed. This matters in environments which do not do Linux style memory overcommit, such as OpenIndiana/OpenSolaris/Solaris. The MAP_NORESERVE flag does not exist on all operating systems (for example FreeBSD). Therefore we define it to zero value in case it does not exist. Fixes issue 21. From-SVN: r196088 | |||||
2013-02-11 | re PR go/56171 (syscall FAILs on Solaris) | Ian Lance Taylor | 5 | -3/+67 | |
PR go/56171 libgo: Solaris portability for syscall package. From Rainer Orth. From-SVN: r195950 | |||||
2013-02-10 | compiler, libgo: Permit testing package when test imports it circularly. | Ian Lance Taylor | 15 | -255/+68 | |
From-SVN: r195931 | |||||
2013-02-09 | re PR go/56017 (libgo testsuite does not support cross testing) | Ian Lance Taylor | 2 | -2/+8 | |
PR go/56017 libgo testsuite: If using DejaGNU, don't frob the log file. From-SVN: r195927 | |||||
2013-02-09 | re PR go/56017 (libgo testsuite does not support cross testing) | Ian Lance Taylor | 1 | -0/+1 | |
PR go/56017 libgo DejaGNU testsuite: Load timeout.exp before go.exp. From-SVN: r195926 | |||||
2013-02-08 | syscall: Always use _C_int for C libcalls. | Ian Lance Taylor | 10 | -48/+50 | |
From-SVN: r195897 | |||||
2013-02-07 | runtime: Change main in goc2c to return int. | Ian Lance Taylor | 1 | -1/+1 | |
From Uros Bizjak. From-SVN: r195868 | |||||
2013-02-07 | re PR go/56173 (Several libgo tests FAIL on Solaris/SPARC) | Ian Lance Taylor | 1 | -2/+12 | |
PR go/56173 crypto/md5: fix for big-endian processors From-SVN: r195867 | |||||
2013-02-07 | libgo: Correct test for whether to use DejaGNU. | Ian Lance Taylor | 2 | -2/+2 | |
From-SVN: r195861 | |||||
2013-02-07 | re PR go/56172 (net FAILs on Solaris) | Ian Lance Taylor | 1 | -1/+1 | |
PR go/56172 net: Skip TestMulticastListener on Solaris From Rainer Orth. From-SVN: r195855 | |||||
2013-02-06 | re PR go/56172 (net FAILs on Solaris) | Ian Lance Taylor | 4 | -7/+34 | |
PR go/56172 net: Fixes for select based pollster. Make Close work properly, mainly for testing. Restart the select if a descriptor is closed. From-SVN: r195823 | |||||
2013-02-05 | re PR go/56172 (net FAILs on Solaris) | Ian Lance Taylor | 1 | -1/+1 | |
PR go/56172 runtime: Fix argument passed to forcegchelper. From-SVN: r195774 | |||||
2013-02-05 | re PR go/56017 (libgo testsuite does not support cross testing) | Ian Lance Taylor | 5 | -12/+26 | |
PR go/56017 libgo: Use DejaGNU when testing a cross-compiler. From-SVN: r195766 | |||||
2013-02-02 | re PR go/56171 (syscall FAILs on Solaris) | Ian Lance Taylor | 3 | -4/+32 | |
PR go/56171 syscall: Only run creds_test on GNU/Linux. From-SVN: r195686 | |||||
2013-02-02 | runtime: Correct handling of runtime.Callers skip parameter. | Ian Lance Taylor | 1 | -2/+3 | |
From-SVN: r195685 | |||||
2013-02-01 | runtime: Correct test for morestack.S. | Ian Lance Taylor | 1 | -1/+1 | |
From-SVN: r195640 | |||||
2013-01-31 | runtime: Recognize morestack.S if there is no function name. | Ian Lance Taylor | 1 | -1/+12 | |
From-SVN: r195634 | |||||
2013-01-31 | runtime: Remove confusion about split stack functions in backtrace. | Ian Lance Taylor | 1 | -2/+10 | |
From-SVN: r195627 | |||||
2013-01-31 | runtime: Block signals when creating a new thread. | Ian Lance Taylor | 1 | -1/+13 | |
From-SVN: r195619 | |||||
2013-01-31 | runtime: Don't allocate when doing a backtrace. | Ian Lance Taylor | 1 | -2/+8 | |
From-SVN: r195615 | |||||
2013-01-30 | runtime: In backtraces, get inline functions, skip split-stack fns. | Ian Lance Taylor | 7 | -53/+143 | |
From-SVN: r195591 | |||||
2013-01-30 | libgo: Update Go library to master revision 15502/229081515358. | Ian Lance Taylor | 17 | -98/+158 | |
From-SVN: r195569 | |||||
2013-01-29 | libgo: Update Go library to master revision 15489/921e53d4863c. | Ian Lance Taylor | 290 | -49301/+60967 | |
From-SVN: r195560 | |||||
2013-01-29 | runtime: SPARCv9 fixes for lfstack. | Ian Lance Taylor | 1 | -1/+4 | |
From Rainer Orth. From-SVN: r195534 |