]> Cypherpunks repositories - gostls13.git/commit
cmd/link: add -buildid flag to write Go build ID to ELF output, same as cmd/compile
authorRuss Cox <rsc@golang.org>
Thu, 4 Jun 2015 18:31:05 +0000 (14:31 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 5 Jun 2015 04:02:26 +0000 (04:02 +0000)
commitac1f48e2f6ac7cad2fbe072de8d4fbf50c5d8e67
treec9af9c3f93834e5ce075b1fc54d7b3c72a583b99
parenta2c50ece2bcef85d130e2175971367b3b5e0c26d
cmd/link: add -buildid flag to write Go build ID to ELF output, same as cmd/compile

Other binary formats to follow.

Using our own note instead of the GNU build ID note because
we are not the GNU project, and I can't guarantee that the semantics
of our note and the semantics of the GNU note will match forever.
(Also they don't match today.)

For #11048.

Change-Id: Iec7e5a2e49d52b6d3a51b0aface2de7c77a45491
Reviewed-on: https://go-review.googlesource.com/10706
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/link/internal/ld/elf.go
src/cmd/link/internal/ld/pobj.go