{"push_id":582731433,"size":131,"distinct_size":1,"ref":"refs/heads/reflect-arrayof","head":"38481c5f73f1a480af21d992e0d0d4ea5535a03f","before":"802ccbce316e5a082a2da9d70a477e528bc54cdd","commits":[{"sha":"3b2de80309d6a788d33304c1ac9af289a74501e8","author":{"email":"5ad239cb8a44f659eaaee0aa1ea5b94947abe557@golang.org","name":"Russ Cox"},"message":"[dev.cc] liblink: arrange for Prog* argument in vaddr\n\nThe argument is unused in the C code but will be used in the Go translation,\nbecause the Prog holds information needed to invoke the right meaning\nof %A in the ctxt->diag calls in vaddr.\n\nChange-Id: I501830f8ea0e909aafd8ec9ef5d7338e109d9548\nReviewed-on: https://go-review.googlesource.com/3041\nReviewed-by: Ian Lance Taylor <iant@golang.org>","distinct":false,"url":"https://api.github.com/repos/sbinet/golang-go/commits/3b2de80309d6a788d33304c1ac9af289a74501e8"},{"sha":"c4dd7fac89a845d4c9e5e9f1e079d9d7013269de","author":{"email":"5ad239cb8a44f659eaaee0aa1ea5b94947abe557@golang.org","name":"Russ Cox"},"message":"[dev.cc] cmd/dist, lib9: make GOHOSTARCH, GOHOSTOS available to C programs\n\nNeeded for invoking a Go subprocess in the C code.\nThe Go tools live in $GOROOT/pkg/tool/$GOHOSTARCH_$GOHOSTOS.\n\nChange-Id: I961b6b8a07de912de174b758b2fb87d77080546d\nReviewed-on: https://go-review.googlesource.com/3042\nReviewed-by: Ian Lance Taylor <iant@golang.org>","distinct":false,"url":"https://api.github.com/repos/sbinet/golang-go/commits/c4dd7fac89a845d4c9e5e9f1e079d9d7013269de"},{"sha":"283b23297aec09439b6fcbc3e0d9973963b45af4","author":{"email":"5ad239cb8a44f659eaaee0aa1ea5b94947abe557@golang.org","name":"Russ Cox"},"message":"[dev.cc] cmd/objwriter: add placeholder program\n\ncmd/internal/obj is the name for the Go translation of the C liblink library.\n\ncmd/objwriter is the name of a Go binary that runs liblink's writeobj function.\nWhen the bulk of liblink has been converted to Go but the assemblers and\ncompilers are still written in C, the C writeobj will shell out to the Go objwriter\nto actually write the object file. This lets us manage the transition in smaller\npieces.\n\nThe objwriter tool is purely transitional.\nIt will not ship in any release (enforced in cmd/dist).\n\nAdding a dummy program and some dummy imports here so that we\ncan work on the bootstrap mechanisms that will be necessary to build it.\nOnce the build process handles objwriter properly,\nwe'll work on the actual implementation.\n\nChange-Id: I675c818b3a513c26bb91c6dba564c6ace3b7fcd4\nReviewed-on: https://go-review.googlesource.com/3043\nReviewed-by: Ian Lance Taylor <iant@golang.org>","distinct":false,"url":"https://api.github.com/repos/sbinet/golang-go/commits/283b23297aec09439b6fcbc3e0d9973963b45af4"},{"sha":"328ace91e655c5bc4bd3a29f3404f961837ddeb3","author":{"email":"5ad239cb8a44f659eaaee0aa1ea5b94947abe557@golang.org","name":"Russ Cox"},"message":"[dev.cc] cmd/dist: bootstrap Go toolchain using Go 1.4\n\nBootstrap the Go parts of the Go toolchain using Go 1.4,\nas described in https://golang.org/s/go15bootstrap.\n\nThe first Go part of the Go toolchain will be cmd/objwriter,\nbut for now that's just an empty program to test that this\nnew code works.\n\nOnce the build dashboard is okay with this change,\nwe'll make objwriter a real program depended upon by the build.\n\nChange-Id: Iad3dce675571cbdb5ab6298fe6f98f53ede47d5c\nReviewed-on: https://go-review.googlesource.com/3044\nReviewed-by: Ian Lance Taylor <iant@golang.org>","distinct":false,"url":"https://api.github.com/repos/sbinet/golang-go/commits/328ace91e655c5bc4bd3a29f3404f961837ddeb3"},{"sha":"725e3a7afbb5b07e9345dd9ef6878af0cd959776","author":{"email":"5ad239cb8a44f659eaaee0aa1ea5b94947abe557@golang.org","name":"Russ Cox"},"message":"[dev.cc] liblink: invoke go tool objwriter during writeobj\n\nThis doesn't actually use objwriter for any real work.\nIt's just to check that objwriter is available.\nThe real work will be moved once the bootstrapping\nmechanisms are working.\n\nChange-Id: I5f41c8910c4b11b9d80cb0b0847ff9cb582fc2be\nReviewed-on: https://go-review.googlesource.com/3045\nReviewed-by: Ian Lance Taylor <iant@golang.org>","distinct":false,"url":"https://api.github.com/repos/sbinet/golang-go/commits/725e3a7afbb5b07e9345dd9ef6878af0cd959776"},{"sha":"db52315c88e588b87895dcb159d1b4886f355e92","author":{"email":"5ad239cb8a44f659eaaee0aa1ea5b94947abe557@golang.org","name":"Russ Cox"},"message":"[dev.cc] build: do not 'clean -i std' between dist and go_bootstrap\n\nExecuting 'clean -i std' removes installed Go programs,\nincluding the toolchain binaries we need for building.\nIt's not clear why the 'clean -i std' is here in the first place.\ncmd/dist just removed the entire pkg tree, so everything is new.\nThe only reason for 'clean -i std' would be if you don't trust\nthat dist compiled the packages properly. If that's true for\nsome reason, we can fix cmd/dist, or add -a to the install\ncommands that follow. Perhaps clean -i std should not\nremove tools, or perhaps std should not expand to any tools.\nNot sure.\n\nAlso remove banner from make.bat and make.rc that was\nalready removed from make.bash. cmd/dist prints it now.\n\nAlso fix array size error in liblink/objfile.c.\n\nFixes dev.cc build.\n\nChange-Id: I60855e001a682efce55ad9aa307a8f3ee47f7366\nReviewed-on: https://go-review.googlesource.com/3100\nReviewed-by: Russ Cox <rsc@golang.org>","distinct":false,"url":"https://api.github.com/repos/sbinet/golang-go/commits/db52315c88e588b87895dcb159d1b4886f355e92"},{"sha":"d6f6e420fcea98a84a9c6a69a7bcf81ddca7ea74","author":{"email":"5ad239cb8a44f659eaaee0aa1ea5b94947abe557@golang.org","name":"Russ Cox"},"message":"[dev.cc] cmd/internal/obj: convert liblink C to Go\n\nThis CL adds the real cmd/internal/obj packages.\nCollectively they correspond to the liblink library.\nThe conversion was done using rsc.io/c2go's run script\nat rsc.io/c2go repo version 706fac7.\n\nThis is not the final conversion, just the first working draft.\nThere will be more updates, but this works well enough\nto use with go tool objwriter and pass all.bash.\n\nChange-Id: I9359e835425f995a392bb2fcdbebf29511477bed\nReviewed-on: https://go-review.googlesource.com/3046\nReviewed-by: Ian Lance Taylor <iant@golang.org>","distinct":false,"url":"https://api.github.com/repos/sbinet/golang-go/commits/d6f6e420fcea98a84a9c6a69a7bcf81ddca7ea74"},{"sha":"35d3987dbc49d0e2cae4e0cf70dabb62e62cbc50","author":{"email":"5ad239cb8a44f659eaaee0aa1ea5b94947abe557@golang.org","name":"Russ Cox"},"message":"[dev.cc] cmd/objwriter: implement using cmd/internal/obj\n\nNew code but nothing interesting.\nIt's nearly all parsing code for the format written by liblink.\nThe interesting part is the call to obj.Writeobjdirect, which\nis the Go translation of the C liblink writeobjdirect function.\n\nChange-Id: I2e9e755e7a3c999302e2ef2c7475c0af9c5acdd2\nReviewed-on: https://go-review.googlesource.com/3047\nReviewed-by: Ian Lance Taylor <iant@golang.org>","distinct":false,"url":"https://api.github.com/repos/sbinet/golang-go/commits/35d3987dbc49d0e2cae4e0cf70dabb62e62cbc50"},{"sha":"be818361b9a5e73ade75fa1999ed0dec81de7cb6","author":{"email":"5ad239cb8a44f659eaaee0aa1ea5b94947abe557@golang.org","name":"Russ Cox"},"message":"[dev.cc] liblink: invoke 'go tool objwriter' to implement writeobj, if directed\n\nThis CL enables moving the bulk of the object writing code\nout of liblink and into translated Go libraries in cmd/internal/obj,\nbut it does not do the move.\n\nThis CL introduces two new environment variables,\n$GOOBJ and $GOOBJWRITER, but both will be deleted along with\nthe rest of the liblink C code.\n\nThe default behavior of a build is unchanged by this CL:\nthe C version of liblink uses the C object layout and writing code.\n\nIf $GOOBJ=1, liblink invokes go tool objwriter instead.\n\nIf $GOOBJ=2, liblink does its own layout and then invokes\ngo tool objwriter, which checks that it gets the same answer.\n\nThat is, in $GOOBJ=2 mode, both the C and the Go version of\nthe code run, and the operation fails if the two produce different\nanswers. This provides a very strong check that the translation\nis working correctly.\n\nChange-Id: I56ab49b07ccb2c7b81085f1d6950131047c6aa3c\nReviewed-on: https://go-review.googlesource.com/3048\nReviewed-by: Ian Lance Taylor <iant@golang.org>","distinct":false,"url":"https://api.github.com/repos/sbinet/golang-go/commits/be818361b9a5e73ade75fa1999ed0dec81de7cb6"},{"sha":"a8e5e803e68c11fe812fa5d2d1ecefc0ffa73ef7","author":{"email":"5ad239cb8a44f659eaaee0aa1ea5b94947abe557@golang.org","name":"Russ Cox"},"message":"[dev.cc] cmd/dist: write cmd/internal/obj/zbootstrap.go\n\ncmd/internal/obj needs information about the default\nvalues of GOROOT, GOARM, GOEXPERIMENT, Version, and so on.\nIt cannot ask package runtime, because during bootstrap\npackage runtime comes from Go 1.4.\nSo it must have its own copy.\n\nChange-Id: I73d3e75a3d47210b3184a51a810ebb44826b81e5\nReviewed-on: https://go-review.googlesource.com/3140\nReviewed-by: Ian Lance Taylor <iant@golang.org>\nReviewed-by: Rob Pike <r@golang.org>","distinct":false,"url":"https://api.github.com/repos/sbinet/golang-go/commits/a8e5e803e68c11fe812fa5d2d1ecefc0ffa73ef7"},{"sha":"24dfaba6d1dafffe55987ded672c73a9b6087e79","author":{"email":"5ad239cb8a44f659eaaee0aa1ea5b94947abe557@golang.org","name":"Russ Cox"},"message":"[dev.cc] cmd/internal/obj: reconvert from liblink\n\nUsing rsc.io/c2go repo revision 60c9302.\n\n- Export a few symbols needed by assemblers.\n- Implement Getgoroot etc directly, and add Getgoversion.\n- Removes dependency on Go 1.4 go/build.\n- Change magic history name <no name> to <pop>\n\nThe <pop> change requires adjustment to the liblink serializer.\n\nChange-Id: If5fb52ac9e91d50805263070b3fc5cc05d8b7632\nReviewed-on: https://go-review.googlesource.com/3141\nReviewed-by: Ian Lance Taylor <iant@golang.org>\nReviewed-by: Rob Pike <r@golang.org>","distinct":false,"url":"https://api.github.com/repos/sbinet/golang-go/commits/24dfaba6d1dafffe55987ded672c73a9b6087e79"},{"sha":"9e2f8fdb6f54d539bafc9e2bef4b266def1e3e74","author":{"email":"5ad239cb8a44f659eaaee0aa1ea5b94947abe557@golang.org","name":"Russ Cox"},"message":"[dev.cc] cmd/new5a etc, cmd/internal/asm: initial C → Go conversion\n\nThis is the raw output of c2go. It needs fixes to make it compile.\nRather than make c2go do a 100% conversion (like we're doing for\nliblink and the Go compilers), since this is so trivial I'm going to\nmake the remaining changes by hand in a followup CL.\nThis CL makes the next CL's diffs useful.\n\nAlso copy unmodified .y files (5a/a.y → new5a/a.y and so on)\n\nThe converted 6a/lex.c has been written to new6a/lex.go\nbut also to internal/asm/asm.go, because I'm going to factor\nout some common code rather than convert it four times.\n\nChange-Id: I01d5dfd6a9be3ef6191581560bdddd0ac0e8bc58\nReviewed-on: https://go-review.googlesource.com/3142\nReviewed-by: Rob Pike <r@golang.org>","distinct":false,"url":"https://api.github.com/repos/sbinet/golang-go/commits/9e2f8fdb6f54d539bafc9e2bef4b266def1e3e74"},{"sha":"4ca2fc4d8b3579dc719e7d6e79c2283bfb026a4d","author":{"email":"5ad239cb8a44f659eaaee0aa1ea5b94947abe557@golang.org","name":"Russ Cox"},"message":"[dev.cc] cmd/new5a etc, cmd/internal/asm: edit to produce working Go code\n\nThese assemblers produce byte-for-byte identical output\nto the ones written in C.\n\nThey are primarily a proof that cmd/internal/obj can be used\nstandalone to produce working object files. (The use via objwriter\nstarts by deserializing an already-constructed internal representation,\nso objwriter does not exercise the code in cmd/internal/obj that\ncreates such a representation from scratch.)\n\nChange-Id: I1793d8d010046cfb9d8b4d2d4469e7f47a3d3ac7\nReviewed-on: https://go-review.googlesource.com/3143\nReviewed-by: Rob Pike <r@golang.org>\nReviewed-by: Ian Lance Taylor <iant@golang.org>","distinct":false,"url":"https://api.github.com/repos/sbinet/golang-go/commits/4ca2fc4d8b3579dc719e7d6e79c2283bfb026a4d"},{"sha":"f4d2d71752474aed3f35b42ac77175e970da76ab","author":{"email":"5ad239cb8a44f659eaaee0aa1ea5b94947abe557@golang.org","name":"Russ Cox"},"message":"[dev.cc] cmd/dist: build new5a etc during bootstrap\n\nThe change to the bootstrap import conversion is\nfor the a.y files, which use import dot.\n\nWhile we're editing the tool list, add \"cmd/dist\".\nRight now 'go install cmd/dist' installs to $GOROOT/bin/dist.\n(A new bug since cmd/dist has been rewritten in Go.\nWhen cmd/dist was a C program, go install cmd/dist just didn't work.)\n\nChange-Id: I362208dcfb4ae64c987f60b95dc946829fa506d8\nReviewed-on: https://go-review.googlesource.com/3144\nReviewed-by: Ian Lance Taylor <iant@golang.org>\nReviewed-by: Rob Pike <r@golang.org>","distinct":false,"url":"https://api.github.com/repos/sbinet/golang-go/commits/f4d2d71752474aed3f35b42ac77175e970da76ab"},{"sha":"5282e3ab26dd01180640a1a0e59ed5a4d070ba44","author":{"email":"5ad239cb8a44f659eaaee0aa1ea5b94947abe557@golang.org","name":"Russ Cox"},"message":"[dev.cc] cmd/go: run C and Go assemblers side by side and verify matching output\n\nWhen an assembly file must be assembled, cmd/go now runs\nboth (say) 6a and new6a and checks that they write identical\noutput files.\n\nThis serves as a build-time test that the new assemblers are accurate\nconversions of the old ones. As long as they are producing identical\nbytes, there's no need for run-time testing.\n\nOnce the C conversion is done, we'll throw away the C code\nand this checking.\n\nChange-Id: I0216dad56b7e79011eecd27f1aff4fe79bfe720b\nReviewed-on: https://go-review.googlesource.com/3145\nReviewed-by: Rob Pike <r@golang.org>","distinct":false,"url":"https://api.github.com/repos/sbinet/golang-go/commits/5282e3ab26dd01180640a1a0e59ed5a4d070ba44"},{"sha":"7de910dccf96f01720f7d783cf7ea2145a876535","author":{"email":"ec8ae1e6620d4bab5e0e7aa2a6ae41aad63e3708@gmail.com","name":"David du Colombier"},"message":"include: declare runcmd on Plan 9\n\nThe function runcmd was declared in\ninclude/libc.h in CL 7523043.\n\nChange-Id: I3839b96b2ac0d63e5c2eb4c216710442d0962119\nReviewed-on: https://go-review.googlesource.com/3125\nReviewed-by: Ian Lance Taylor <iant@golang.org>","distinct":false,"url":"https://api.github.com/repos/sbinet/golang-go/commits/7de910dccf96f01720f7d783cf7ea2145a876535"},{"sha":"7522e135a3b294c9f85b1bea901f5fe062b6f73a","author":{"email":"ec8ae1e6620d4bab5e0e7aa2a6ae41aad63e3708@gmail.com","name":"David du Colombier"},"message":"include: declare getgohostos and getgohostarch on Plan 9\n\nThe function getgohostos and getgohostarch\nwere declared in include/libc.h in CL 3042.\n\nChange-Id: Ib4ff5182cb71cc79a99663ce727fa4c28d15d7ad\nReviewed-on: https://go-review.googlesource.com/3122\nReviewed-by: Ian Lance Taylor <iant@golang.org>","distinct":false,"url":"https://api.github.com/repos/sbinet/golang-go/commits/7522e135a3b294c9f85b1bea901f5fe062b6f73a"},{"sha":"ebaf8db4f62af36c7215735891f014dc4bb4e2ba","author":{"email":"5ad239cb8a44f659eaaee0aa1ea5b94947abe557@golang.org","name":"Russ Cox"},"message":"[dev.cc] cmd/internal/obj: export more symbols, rename Type_ to Type\n\nFor new assembler, reconvert using rsc.io/c2go rev f9db76e.\n- Removes trailing _ from Go keywords that are exported.\n- Export regstr as Register, anames[5689] as Anames.\n\nAlso update clients.\n\nChange-Id: I41c8fd2d14490236f548b4aa0ed0b9bd7571d2d7\nReviewed-on: https://go-review.googlesource.com/3151\nReviewed-by: Rob Pike <r@golang.org>","distinct":false,"url":"https://api.github.com/repos/sbinet/golang-go/commits/ebaf8db4f62af36c7215735891f014dc4bb4e2ba"},{"sha":"67e7ded029034cc3cd510303f7b06faf690d4bc3","author":{"email":"5ad239cb8a44f659eaaee0aa1ea5b94947abe557@golang.org","name":"Russ Cox"},"message":"[dev.cc] cmd/internal/obj, cmd/new9a: use ctxt.NewProg\n\ncmd/internal/obj reconverted using rsc.io/c2go rev 40275b8.\n\nAll Prog*s need Ctxt field set so that the printer can tell\nwhich architecture the Prog belongs to.\nUse ctxt.NewProg consistently for this.\n\nChange-Id: Ic981b3d68f24931ffae74a772e83a3dc2fdf518a\nReviewed-on: https://go-review.googlesource.com/3152\nReviewed-by: Rob Pike <r@golang.org>","distinct":false,"url":"https://api.github.com/repos/sbinet/golang-go/commits/67e7ded029034cc3cd510303f7b06faf690d4bc3"},{"sha":"6017f680292e86611a6f709dcacd4083ab910d6b","author":{"email":"4dc7c9ec434ed06502767136789763ec11d2c4b7@golang.org","name":"Rob Pike"},"message":"[dev.cc] cmd/asm: add arch package\n\nThis package builds the representation of the machine architecture\nfor the new assembler.\n\nAlmost nothing in it is likely to last but this will get things running.\n\nChange-Id: I8edd891f927a81f76d2dbdcd7484b9c87ac0fb2e\nReviewed-on: https://go-review.googlesource.com/3194\nReviewed-by: Russ Cox <rsc@golang.org>","distinct":false,"url":"https://api.github.com/repos/sbinet/golang-go/commits/6017f680292e86611a6f709dcacd4083ab910d6b"}]}