We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd41db3 commit 735e5a4Copy full SHA for 735e5a4
src/cmd/compile/internal/gc/obj.go
@@ -233,8 +233,7 @@ func stringsym(s string) (hdr, data *Sym) {
233
off = dsname(symdata, off, s[n:n+m])
234
}
235
236
- off = duint8(symdata, off, 0) // terminating NUL for runtime
237
- off = (off + Widthptr - 1) &^ (Widthptr - 1) // round to pointer alignment
+ off = duint8(symdata, off, 0) // terminating NUL for runtime
238
ggloblsym(symdata, int32(off), obj.DUPOK|obj.RODATA|obj.LOCAL)
239
240
return symhdr, symdata
0 commit comments