aboutsummaryrefslogtreecommitdiff
path: root/libgo/misc
AgeCommit message (Collapse)AuthorFilesLines
2022-03-16libgo: update to final Go 1.18 releaseIan Lance Taylor1-1/+1
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/393377
2022-02-18libgo: update to Go1.18rc1 releaseIan Lance Taylor4-27/+15
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/386594
2022-02-11libgo: update to Go1.18beta2Ian Lance Taylor50-59/+938
gotools/ * Makefile.am (go_cmd_cgo_files): Add ast_go118.go (check-go-tool): Copy golang.org/x/tools directories. * Makefile.in: Regenerate. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/384695
2021-09-05libgo: update to final Go 1.17 releaseIan Lance Taylor2-0/+110
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/343729
2021-08-12libgo: update to Go1.17rc2Ian Lance Taylor45-138/+560
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/341629
2021-04-12libgo: update to Go1.16.3 releaseIan Lance Taylor5-0/+81
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/309490
2021-03-15libgo: update to Go 1.16.2 releaseIan Lance Taylor4-7/+58
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/301459
2021-03-12misc/cgo/testcarchive: don't use == for string equality in C codeIan Lance Taylor1-1/+1
Backport of https://golang.org/cl/300993. For PR go/99553 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/301458
2021-02-19libgo: update to Go1.16 releaseIan Lance Taylor4-0/+54
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/293793
2021-01-29libgo: update to Go1.16rc1Ian Lance Taylor2-6/+1
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/287493
2021-01-14libgo: update hurd supportIan Lance Taylor1-1/+1
Patch from Svante Signell. Fixes PR go/98496 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/283692
2020-12-30libgo: update to Go1.16beta1 releaseIan Lance Taylor26-27/+542
This does not yet include support for the //go:embed directive added in this release. * Makefile.am (check-runtime): Don't create check-runtime-dir. (mostlyclean-local): Don't remove check-runtime-dir. (check-go-tool, check-vet): Copy in go.mod and modules.txt. (check-cgo-test, check-carchive-test): Add go.mod file. * Makefile.in: Regenerate. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/280172
2020-11-20libgo: update to Go 1.15.5 releaseIan Lance Taylor1-0/+216
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/272146
2020-10-27libgo: update to Go 1.15.3 releaseIan Lance Taylor2-0/+34
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/265717
2020-09-30libgo: add 32-bit RISC-V (RV32) supportMaciej W. Rozycki2-2/+2
Add support for the 32-bit RISC-V (RV32) ISA matching the 64-bit RISC-V (RV64) port except for async preemption added as a stub only. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/251179
2020-08-07libgo: update to Go1.15rc2 releaseIan Lance Taylor2-0/+26
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/247517
2020-08-01libgo: update to go1.15rc1Ian Lance Taylor20-27/+157
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/245157
2020-07-10libgo: update to Go 1.14.4 releaseIan Lance Taylor1-0/+10
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/241999
2020-04-06libgo: update to almost the 1.14.2 releaseIan Lance Taylor4-0/+66
Update to edea4a79e8d7dea2456b688f492c8af33d381dc2 which is likely to be approximately the 1.14.2 release. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/227377
2020-02-15libgo: update to Go1.14rc1 releaseIan Lance Taylor6-22/+5
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/218017
2020-01-21libgo: update to Go1.14beta1Ian Lance Taylor28-296/+755
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/214297
2019-09-12libgo: update to Go1.13Ian Lance Taylor6-35/+105
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/194698 From-SVN: r275691
2019-09-09misc/cgo/testcshared: restore gofrontend-local changesIan Lance Taylor2-2/+2
They were lost when the files were moved in the update to Go1.13beta1. These changes should be made in the master repo for the 1.14 release, as riscv64 support is added there. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/194343 From-SVN: r275551
2019-09-06libgo: update to Go 1.13beta1 releaseIan Lance Taylor342-4249/+5040
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/193497 From-SVN: r275473
2019-03-18libgo: update to Go 1.12.1Ian Lance Taylor3-0/+44
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/167749 From-SVN: r269780
2019-02-26libgo: update to Go1.12rc1Ian Lance Taylor4-0/+78
Reviewed-on: https://go-review.googlesource.com/c/162881 From-SVN: r269202
2019-02-01runtime, sync: use __atomic intrinsics instead of __syncIan Lance Taylor1-23/+5
GCC has supported the __atomic intrinsics since 4.7. They are better than the __sync intrinsics in that they specify a memory model and, more importantly for our purposes, they are reliably implemented either in the compiler or in libatomic. Fixes https://gcc.gnu.org/PR52084 Reviewed-on: https://go-review.googlesource.com/c/160820 From-SVN: r268458
2019-01-18libgo: update to Go1.12beta2Ian Lance Taylor31-26/+718
Reviewed-on: https://go-review.googlesource.com/c/158019 gotools/: * Makefile.am (go_cmd_vet_files): Update for Go1.12beta2 release. (GOTOOLS_TEST_TIMEOUT): Increase to 600. (check-runtime): Export LD_LIBRARY_PATH before computing GOARCH and GOOS. (check-vet): Copy golang.org/x/tools into check-vet-dir. * Makefile.in: Regenerate. gcc/testsuite/: * go.go-torture/execute/names-1.go: Stop using debug/xcoff, which is no longer externally visible. From-SVN: r268084
2018-09-24libgo: update to Go 1.11Ian Lance Taylor66-37/+983
Reviewed-on: https://go-review.googlesource.com/136435 gotools/: * Makefile.am (mostlyclean-local): Run chmod on check-go-dir to make sure it is writable. (check-go-tools): Likewise. (check-vet): Copy internal/objabi to check-vet-dir. * Makefile.in: Rebuild. From-SVN: r264546
2018-06-13libgo: update to Go 1.10.3 releaseIan Lance Taylor2-2/+2
Reviewed-on: https://go-review.googlesource.com/118495 From-SVN: r261549
2018-05-31libgo: update to Go 1.10.2 releaseIan Lance Taylor4-0/+41
Reviewed-on: https://go-review.googlesource.com/115196 From-SVN: r261041
2018-02-22re PR go/84484 (libgo configure tests fail to find -latomic)Andreas Schwab2-2/+2
PR go/84484 libgo: add support for riscv64 Patch by Andreas Schwab. Reviewed-on: https://go-review.googlesource.com/96377 * go.test/go-test.exp (go-set-goarch): Recognize riscv64-*-*. From-SVN: r257914
2018-02-12compiler: error on func declaration/definitionIan Lance Taylor2-0/+4
Long long long ago Go permitted writing func F() in one file and writing func F() {} in another file. This was removed from the language, and that is now considered to be a multiple definition error. Gccgo never caught up to that, and it has been permitting this invalid code for some time. Stop permitting it, so that we give correct errors. Since we've supported it for a long time, the compiler uses it in a couple of cases: it predeclares the hash/equal methods if it decides to create them while compiling another function, and it predeclares main.main as a mechanism for getting the right warning if a program uses the wrong signature for main. For simplicity, keep those existing uses. This required a few minor changes in libgo which were relying, unnecessarily, on the current behavior. Reviewed-on: https://go-review.googlesource.com/93083 From-SVN: r257600
2018-02-08libgo: update to Go1.10rc2Ian Lance Taylor4-23/+31
Reviewed-on: https://go-review.googlesource.com/92736 From-SVN: r257493
2018-01-27libgo: update to Go1.10rc1Ian Lance Taylor4-9/+168
Reviewed-on: https://go-review.googlesource.com/90295 From-SVN: r257126
2018-01-17libgo: update to Go1.10beta2 releaseIan Lance Taylor3-1/+76
Reviewed-on: https://go-review.googlesource.com/87897 From-SVN: r256794
2018-01-11re PR go/83794 (misc/cgo/test uses gigabytes of memory)Ian Lance Taylor1-2/+3
PR go/83794 misc/cgo/test: avoid endless loop when we can't parse notes Reviewed-on: https://go-review.googlesource.com/87416 From-SVN: r256553
2018-01-09libgo: update to Go1.10beta1Ian Lance Taylor93-739/+2306
Update the Go library to the 1.10beta1 release. Requires a few changes to the compiler for modifications to the map runtime code, and to handle some nowritebarrier cases in the runtime. Reviewed-on: https://go-review.googlesource.com/86455 gotools/: * Makefile.am (go_cmd_vet_files): New variable. (go_cmd_buildid_files, go_cmd_test2json_files): New variables. (s-zdefaultcc): Change from constants to functions. (noinst_PROGRAMS): Add vet, buildid, and test2json. (cgo$(EXEEXT)): Link against $(LIBGOTOOL). (vet$(EXEEXT)): New target. (buildid$(EXEEXT)): New target. (test2json$(EXEEXT)): New target. (install-exec-local): Install all $(noinst_PROGRAMS). (uninstall-local): Uninstasll all $(noinst_PROGRAMS). (check-go-tool): Depend on $(noinst_PROGRAMS). Copy down objabi.go. (check-runtime): Depend on $(noinst_PROGRAMS). (check-cgo-test, check-carchive-test): Likewise. (check-vet): New target. (check): Depend on check-vet. Look at cmd_vet-testlog. (.PHONY): Add check-vet. * Makefile.in: Rebuild. From-SVN: r256365
2017-09-14libgo: update to go1.9Ian Lance Taylor35-83/+813
Reviewed-on: https://go-review.googlesource.com/63753 From-SVN: r252767
2017-08-18misc/cgo/test: make cgo tests run on AIXIan Lance Taylor2-1/+3
Reviewed-on: https://go-review.googlesource.com/56910 From-SVN: r251182
2017-06-29misc/cgo/testcarchive: fix test to work for gccgoIan Lance Taylor2-10/+63
This test is not yet run, but it will be soon. Reviewed-on: https://go-review.googlesource.com/47038 From-SVN: r249795
2017-06-27libgo: add misc/cgo filesIan Lance Taylor268-0/+13721
Copy all the misc/cgo files from the gc toolchain into libgo/misc. These will be used for testing purposes by later changes to the gotools directory. Reviewed-on: https://go-review.googlesource.com/46721 From-SVN: r249674