]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/internal/goobj: bump version number
authorCherry Mui <cherryyz@google.com>
Thu, 28 Oct 2021 20:06:21 +0000 (16:06 -0400)
committerCherry Mui <cherryyz@google.com>
Thu, 28 Oct 2021 20:27:44 +0000 (20:27 +0000)
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>

src/cmd/internal/goobj/objfile.go

index 4dfea8453925a8d69c96fd7a834f99890aeea826..976505839240bd868d96abeca1c26379ba4b8607 100644 (file)
@@ -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)