Skip to content

Commit

Permalink
cmd/internal/goobj: manually update Magic const
Browse files Browse the repository at this point in the history
For #69928

Change-Id: Icf4f800be496eabcdb0cce44374cb67a8c948a95
  • Loading branch information
callthingsoff committed Nov 16, 2024
1 parent 8ac0a7c commit 437a754
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cmd/internal/goobj/objfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 437a754

Please sign in to comment.