aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/internal
diff options
context:
space:
mode:
authorCherry Mui <cherryyz@google.com>2021-10-28 16:06:21 -0400
committerCherry Mui <cherryyz@google.com>2021-10-28 20:27:44 +0000
commit5e217284dc9f3b55e8c8b225dc81c1eb1004d423 (patch)
treef68b0d5728e84f6034173445a65fd79958d9cbaa /src/cmd/internal
parentf229e7031a6efb2f23241b5da000c3b3203081d6 (diff)
downloadgo-5e217284dc9f3b55e8c8b225dc81c1eb1004d423.tar.gz
go-5e217284dc9f3b55e8c8b225dc81c1eb1004d423.zip
cmd/internal/goobj: bump version number
There have a few updates to the Go object file in this cycle (e.g. FuncInfo format change, some changes in constant values), and it is not compatible with the old tools. Bump up the version number. Change-Id: Id176979b139c76ded2c50f2678eb313934326d6f Reviewed-on: https://go-review.googlesource.com/c/go/+/359483 Trust: Cherry Mui <cherryyz@google.com> Run-TryBot: Cherry Mui <cherryyz@google.com> Reviewed-by: Than McIntosh <thanm@google.com> TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'src/cmd/internal')
-rw-r--r--src/cmd/internal/goobj/objfile.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/internal/goobj/objfile.go b/src/cmd/internal/goobj/objfile.go
index 4dfea84539..9765058392 100644
--- a/src/cmd/internal/goobj/objfile.go
+++ b/src/cmd/internal/goobj/objfile.go
@@ -31,7 +31,7 @@ import (
// New object file format.
//
// Header struct {
-// Magic [...]byte // "\x00go117ld"
+// Magic [...]byte // "\x00go118ld"
// Fingerprint [8]byte
// Flags uint32
// Offsets [...]uint32 // byte offset of each block below
@@ -215,7 +215,7 @@ type Header struct {
Offsets [NBlk]uint32
}
-const Magic = "\x00go117ld"
+const Magic = "\x00go118ld"
func (h *Header) Write(w *Writer) {
w.RawString(h.Magic)