1
0
mirror of https://github.com/golang/go synced 2024-11-23 07:10:05 -07:00

cmd/internal/objfile: add objabi.SNOPTRDATA to "D"

This commit is contained in:
Tao Qingyun 2020-12-12 17:25:22 +08:00
parent 41d8e61a6b
commit 39dc0d21b8

View File

@ -168,7 +168,7 @@ func (f *goobjFile) symbols() ([]Sym, error) {
code = 'T'
case objabi.SRODATA:
code = 'R'
case objabi.SDATA:
case objabi.SNOPTRDATA, objabi.SDATA:
code = 'D'
case objabi.SBSS, objabi.SNOPTRBSS, objabi.STLSBSS:
code = 'B'