summaryrefslogtreecommitdiff
path: root/libgo/go/os
AgeCommit message (Collapse)Author
2017-06-23 os: align siginfo argument to waitidian
Backport https://golang.org/cl/46511 from gc trunk, as it may fix a bug reported for gccgo running on MIPS (https://groups.google.com/d/msg/golang-dev/sDg-t1_DPw0/-AJmLxgPBQAJ). Reviewed-on: https://go-review.googlesource.com/46571 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@249600 138bc75d-0d04-0410-961f-82ee72b054a4
2017-04-17 libgo: update to Go 1.8.1 releaseian
Reviewed-on: https://go-review.googlesource.com/40775 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@246957 138bc75d-0d04-0410-961f-82ee72b054a4
2017-01-23 libgo: update to go1.8rc2ian
Fix a bug in the generation of the hash value in reflect.FuncOf. The merge script missed a bunch of testdata files over the years. Copy them over. Reviewed-on: https://go-review.googlesource.com/35570 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@244835 138bc75d-0d04-0410-961f-82ee72b054a4
2017-01-14 libgo: update to Go 1.8 release candidate 1ian
Compiler changes: * Change map assignment to use mapassign and assign value directly. * Change string iteration to use decoderune, faster for ASCII strings. * Change makeslice to take int, and use makeslice64 for larger values. * Add new noverflow field to hmap struct used for maps. Unresolved problems, to be fixed later: * Commented out test in go/types/sizes_test.go that doesn't compile. * Commented out reflect.TestStructOf test for padding after zero-sized field. Reviewed-on: https://go-review.googlesource.com/35231 gotools/: Updates for Go 1.8rc1. * Makefile.am (go_cmd_go_files): Add bug.go. (s-zdefaultcc): Write defaultPkgConfig. * Makefile.in: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@244456 138bc75d-0d04-0410-961f-82ee72b054a4
2016-09-10 libgo: update to Go 1.7.1 releaseian
Reviewed-on: https://go-review.googlesource.com/29012 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240071 138bc75d-0d04-0410-961f-82ee72b054a4
2016-08-11 os: fix build tags for dir_regfile.goian
We want to build dir_regfile.go if not GNU/linux, and not solaris/386, and not solaris/sparc. The latter two conditions were incorrect. To write ! solaris/386 we have to write !solaris !386. I forgot De Morgan's Law. Reviewed-on: https://go-review.googlesource.com/26870 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239393 138bc75d-0d04-0410-961f-82ee72b054a4
2016-08-06 libgo: change build procedure to use build tagsian
Previously the libgo Makefile explicitly listed the set of files to compile for each package. For packages that use build tags, this required a lot of awkward automake conditionals in the Makefile. This CL changes the build to look at the build tags in the files. The new shell script libgo/match.sh does the matching. This required adjusting a lot of build tags, and removing some files that are never used. I verified that the exact same sets of files are compiled on amd64 GNU/Linux. I also tested the build on i386 Solaris. Writing match.sh revealed some bugs in the build tag handling that already exists, in a slightly different form, in the gotest shell script. This CL fixes those problems as well. The old code used automake conditionals to handle systems that were missing strerror_r and wait4. Rather than deal with those in Go, those functions are now implemented in runtime/go-nosys.c when necessary, so the Go code can simply assume that they exist. The os testsuite looked for dir_unix.go, which was never built for gccgo and has now been removed. I changed the testsuite to look for dir.go instead. Reviewed-on: https://go-review.googlesource.com/25546 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239189 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-26 os/user: fix Solaris declaration.ian
Patch from Rainer Orth. Reviewed-on: https://go-review.googlesource.com/25210 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@238742 138bc75d-0d04-0410-961f-82ee72b054a4
2016-07-22 libgo: update to go1.7rc3ian
Reviewed-on: https://go-review.googlesource.com/25150 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@238662 138bc75d-0d04-0410-961f-82ee72b054a4
2016-02-18 libgo: Update to final Go 1.6 release.ian
Reviewed-on: https://go-review.googlesource.com/19592 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233515 138bc75d-0d04-0410-961f-82ee72b054a4
2016-02-03 libgo: Update to go1.6rc1.ian
Reviewed-on: https://go-review.googlesource.com/19200 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233110 138bc75d-0d04-0410-961f-82ee72b054a4
2015-10-31 runtime: Remove now unnecessary pad field from ParFor.ian
It is not needed due to the removal of the ctx field. Reviewed-on: https://go-review.googlesource.com/16525 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229616 138bc75d-0d04-0410-961f-82ee72b054a4
2015-01-15libgo, compiler: Upgrade libgo to Go 1.4, except for runtime.ian
This upgrades all of libgo other than the runtime package to the Go 1.4 release. In Go 1.4 much of the runtime was rewritten into Go. Merging that code will take more time and will not change the API, so I'm putting it off for now. There are a few runtime changes anyhow, to accomodate other packages that rely on minor modifications to the runtime support. The compiler changes slightly to add a one-bit flag to each type descriptor kind that is stored directly in an interface, which for gccgo is currently only pointer types. Another one-bit flag (gcprog) is reserved because it is used by the gc compiler, but gccgo does not currently use it. There is another error check in the compiler since I ran across it during testing. gotools/: * Makefile.am (go_cmd_go_files): Sort entries. Add generate.go. * Makefile.in: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219627 138bc75d-0d04-0410-961f-82ee72b054a4
2014-07-19libgo: Update to Go 1.3 release.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212837 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-06libgo: Merge to master revision 19184.ian
The next revision, 19185, renames several runtime files, and will be handled in a separate change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211328 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-04libgo: Merge from revision 18783:00cce3a34d7e of master library.ian
This revision was committed January 7, 2014. The next revision deleted runtime/mfinal.c. That will be done in a subsequent merge. This merge changes type descriptors to add a zero field, pointing to a zero value for that type. This is implemented as a common variable. * go-gcc.cc (Gcc_backend::implicit_variable): Add is_common and alignment parameters. Permit init parameter to be NULL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211249 138bc75d-0d04-0410-961f-82ee72b054a4
2014-01-08 PR go/59430ian
os/user: Use POSIX functions on Solaris. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206412 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-27libgo: Update to current Go library.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205426 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-11os: Do not try to run go command in test.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204684 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-06libgo: Update to October 24 version of master library.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204466 138bc75d-0d04-0410-961f-82ee72b054a4
2013-07-16libgo: Update to Go 1.1.1.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200974 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-29libgo: Update Go library to master revision 15489/921e53d4863c.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195560 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-24 PR go/46986ian
libgo/Makefile, libgo/go/os/stat_atimespec.go: fix typos git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195436 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-22libgo: Update to revision 15193:6fdc1974457c of master library.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194692 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-12libgo: Update to current master library sources.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194460 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-06os: Clean up directory reading code.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194237 138bc75d-0d04-0410-961f-82ee72b054a4
2012-11-21libgo: Update to current version of master library.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193688 138bc75d-0d04-0410-961f-82ee72b054a4
2012-11-05os: support more OSesian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193172 138bc75d-0d04-0410-961f-82ee72b054a4
2012-10-23libgo: Update to current sources.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192704 138bc75d-0d04-0410-961f-82ee72b054a4
2012-10-03libgo: Update to Go 1.0.3.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192025 138bc75d-0d04-0410-961f-82ee72b054a4
2012-08-23compiler: Remove old handling of unsafe.Pointer in type assertions.ian
Fixes issue 17. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190608 138bc75d-0d04-0410-961f-82ee72b054a4
2012-06-25libgo: Update to Go 1.0.2 release.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188943 138bc75d-0d04-0410-961f-82ee72b054a4
2012-06-13os/user: Use Entersyscall.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188496 138bc75d-0d04-0410-961f-82ee72b054a4
2012-06-13os: Use Entersyscall when reading directories.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188494 138bc75d-0d04-0410-961f-82ee72b054a4
2012-05-04libgo: Update to Go 1.0.1 release.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187163 138bc75d-0d04-0410-961f-82ee72b054a4
2012-04-22mksysinfo: More fixes to emulate master Go library.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186685 138bc75d-0d04-0410-961f-82ee72b054a4
2012-03-30libgo: Update to weekly.2012-03-27 aka go1 release.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186029 138bc75d-0d04-0410-961f-82ee72b054a4
2012-03-30libgo: Update to weekly.2012-03-22.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186026 138bc75d-0d04-0410-961f-82ee72b054a4
2012-03-30libgo: Update to weekly.2012-03-13.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186023 138bc75d-0d04-0410-961f-82ee72b054a4
2012-03-29compiler, libgo: unsafe.{Sizeof,Alignof,Offsetof} return uintptr.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185946 138bc75d-0d04-0410-961f-82ee72b054a4
2012-03-06libgo: Update to weekly.2012-03-04 release.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185010 138bc75d-0d04-0410-961f-82ee72b054a4
2012-03-02libgo: Update to weekly.2012-02-22 release.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184819 138bc75d-0d04-0410-961f-82ee72b054a4
2012-03-02libgo: Update to weekly.2012-02-14 release.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184798 138bc75d-0d04-0410-961f-82ee72b054a4
2012-02-09os: Fix Solaris stat functions.ian
From Rainer Orth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184065 138bc75d-0d04-0410-961f-82ee72b054a4
2012-02-09libgo: Update to weekly.2012-02-07.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184034 138bc75d-0d04-0410-961f-82ee72b054a4
2012-02-08os: Fix typo in //extern comment.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184023 138bc75d-0d04-0410-961f-82ee72b054a4
2012-02-07compiler, libgo: Use //extern comments rather than __asm__.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183981 138bc75d-0d04-0410-961f-82ee72b054a4
2012-02-01os/exec: Make sure file descriptor is not closed early.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183815 138bc75d-0d04-0410-961f-82ee72b054a4
2012-02-01libgo: Update to weekly.2012-01-27.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183810 138bc75d-0d04-0410-961f-82ee72b054a4
2012-01-27libgo: Fix merge errors shown on Solaris.ian
From Rainer Orth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183651 138bc75d-0d04-0410-961f-82ee72b054a4