aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/gc/export.go
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2018-04-17 14:59:04 -0700
committerMatthew Dempsky <mdempsky@google.com>2018-04-17 23:47:18 +0000
commitaefd99de0bfee24f0921210bb93e38ecea487037 (patch)
tree8823c2a34f6a5b59c658695a9be1ec9af4f58946 /src/cmd/compile/internal/gc/export.go
parent4074a67c49b72c846912952c8a511d25c5b3585d (diff)
downloadgo-aefd99de0bfee24f0921210bb93e38ecea487037.tar.gz
go-aefd99de0bfee24f0921210bb93e38ecea487037.zip
cmd/compile: remove duplicate build ID from export data
This is already written out by printObjHeader in obj.go. Change-Id: I23e7a3826a6233307bd591021718c4cf143b381c Reviewed-on: https://go-review.googlesource.com/107618 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/gc/export.go')
-rw-r--r--src/cmd/compile/internal/gc/export.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/cmd/compile/internal/gc/export.go b/src/cmd/compile/internal/gc/export.go
index f0fdc5bd25..a72747fa5b 100644
--- a/src/cmd/compile/internal/gc/export.go
+++ b/src/cmd/compile/internal/gc/export.go
@@ -72,10 +72,6 @@ func (x methodbyname) Swap(i, j int) { x[i], x[j] = x[j], x[i] }
func (x methodbyname) Less(i, j int) bool { return x[i].Sym.Name < x[j].Sym.Name }
func dumpexport(bout *bio.Writer) {
- if buildid != "" {
- exportf(bout, "build id %q\n", buildid)
- }
-
size := 0 // size of export section without enclosing markers
// The linker also looks for the $$ marker - use char after $$ to distinguish format.
exportf(bout, "\n$$B\n") // indicate binary export format