Skip to content

Commit de6e9b9

Browse files
committed
move buildinfo to first
1 parent 39977c9 commit de6e9b9

File tree

1 file changed

+1
-1
lines changed
  • src/cmd/link/internal/wasm

1 file changed

+1
-1
lines changed

src/cmd/link/internal/wasm/asm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,14 @@ var dataSects []wasmDataSect
124124

125125
func asmb(ctxt *ld.Link, ldr *loader.Loader) {
126126
sections := []*sym.Section{
127+
ldr.SymSect(ldr.Lookup("go:buildinfo", 0)),
127128
ldr.SymSect(ldr.Lookup("runtime.rodata", 0)),
128129
ldr.SymSect(ldr.Lookup("runtime.typelink", 0)),
129130
ldr.SymSect(ldr.Lookup("runtime.itablink", 0)),
130131
ldr.SymSect(ldr.Lookup("runtime.symtab", 0)),
131132
ldr.SymSect(ldr.Lookup("runtime.pclntab", 0)),
132133
ldr.SymSect(ldr.Lookup("runtime.noptrdata", 0)),
133134
ldr.SymSect(ldr.Lookup("runtime.data", 0)),
134-
ldr.SymSect(ldr.Lookup("go:buildinfo", 0)),
135135
}
136136

137137
dataSects = make([]wasmDataSect, len(sections))

0 commit comments

Comments
 (0)