]> Cypherpunks repositories - gostls13.git/commit
cmd/go: simplify ELF note reading and enable during bootstrap
authorRuss Cox <rsc@golang.org>
Thu, 4 Jun 2015 18:17:51 +0000 (14:17 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 5 Jun 2015 03:53:14 +0000 (03:53 +0000)
commita9267db56abaa2ee68a27d78a5b12083f2a25a49
tree45a4501c54f4ab733d77849e128f81a50d52933b
parent09a3a092afc01bf411ed87bfd29adc25e0d0f250
cmd/go: simplify ELF note reading and enable during bootstrap

The bootstrap restriction is to avoid needing cgo for package net.
There's no problem with building debug/elf and debug/dwarf,
so do that.

An upcoming CL is going to add more note processing code,
and it simplifies things not to have to think about the code being
missing half the time.

Change-Id: I0e2f120ac23f14db6ecfcec7bfe254a69abcf7b6
Reviewed-on: https://go-review.googlesource.com/10703
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/dist/build.go
src/cmd/go/bootstrap.go
src/cmd/go/build.go
src/cmd/go/note.go