mirror of
https://github.com/golang/go
synced 2024-11-24 23:07:56 -07:00
cmd/internal/goobj: manually update Magic const
For #69928 Change-Id: Icf4f800be496eabcdb0cce44374cb67a8c948a95
This commit is contained in:
parent
8ac0a7c512
commit
437a754654
@ -29,7 +29,7 @@ import (
|
|||||||
// New object file format.
|
// New object file format.
|
||||||
//
|
//
|
||||||
// Header struct {
|
// Header struct {
|
||||||
// Magic [...]byte // "\x00go120ld"
|
// Magic [...]byte // "\x00go124ld"
|
||||||
// Fingerprint [8]byte
|
// Fingerprint [8]byte
|
||||||
// Flags uint32
|
// Flags uint32
|
||||||
// Offsets [...]uint32 // byte offset of each block below
|
// Offsets [...]uint32 // byte offset of each block below
|
||||||
@ -214,7 +214,7 @@ type Header struct {
|
|||||||
Offsets [NBlk]uint32
|
Offsets [NBlk]uint32
|
||||||
}
|
}
|
||||||
|
|
||||||
const Magic = "\x00go120ld"
|
const Magic = "\x00go124ld"
|
||||||
|
|
||||||
func (h *Header) Write(w *Writer) {
|
func (h *Header) Write(w *Writer) {
|
||||||
w.RawString(h.Magic)
|
w.RawString(h.Magic)
|
||||||
|
Loading…
Reference in New Issue
Block a user