1
0
mirror of https://github.com/golang/go synced 2024-11-26 04:07:59 -07:00

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

Change-Id: I65913534a4a3e2cbc0d4b00454dd3092eb908cb5
GitHub-Last-Rev: 39dc0d21b8
GitHub-Pull-Request: golang/go#43151
Reviewed-on: https://go-review.googlesource.com/c/go/+/277452
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Trust: Heschi Kreinick <heschi@google.com>
This commit is contained in:
Tao Qingyun 2020-12-12 09:45:45 +00:00 committed by Cherry Mui
parent d9e068d289
commit 73d5aef4d1

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'