1
0
mirror of https://github.com/golang/go synced 2024-11-21 11:54:39 -07:00

cmd/internal/goobj: manually update Magic const

For #69928

Change-Id: Icf4f800be496eabcdb0cce44374cb67a8c948a95
This commit is contained in:
Jes Cok 2024-11-14 01:30:41 +08:00
parent 8ac0a7c512
commit 437a754654

View File

@ -29,7 +29,7 @@ import (
// New object file format.
//
// Header struct {
// Magic [...]byte // "\x00go120ld"
// Magic [...]byte // "\x00go124ld"
// Fingerprint [8]byte
// Flags uint32
// Offsets [...]uint32 // byte offset of each block below
@ -214,7 +214,7 @@ type Header struct {
Offsets [NBlk]uint32
}
const Magic = "\x00go120ld"
const Magic = "\x00go124ld"
func (h *Header) Write(w *Writer) {
w.RawString(h.Magic)