From 437a7546542ad9381318e903643eed2de5f08684 Mon Sep 17 00:00:00 2001 From: Jes Cok Date: Thu, 14 Nov 2024 01:30:41 +0800 Subject: [PATCH] cmd/internal/goobj: manually update Magic const For #69928 Change-Id: Icf4f800be496eabcdb0cce44374cb67a8c948a95 --- src/cmd/internal/goobj/objfile.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/internal/goobj/objfile.go b/src/cmd/internal/goobj/objfile.go index d54fa993d28af..8d53daf17c675 100644 --- a/src/cmd/internal/goobj/objfile.go +++ b/src/cmd/internal/goobj/objfile.go @@ -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)