]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/objabi: fix the bug of shrinking SymType down to a uint8
authorWei Xiao <wei.xiao@arm.com>
Tue, 9 May 2017 08:25:13 +0000 (16:25 +0800)
committerCherry Zhang <cherryyz@google.com>
Tue, 16 May 2017 12:26:10 +0000 (12:26 +0000)
commitb2363ee9f6c37f0c0ac0dd6b992c0de54c7d40f5
tree750af645f80267a406f1e188a4ee62805260f94d
parent5088b64b07f7e8e93e3cdd3bd438c3b7e696eeae
cmd/internal/objabi: fix the bug of shrinking SymType down to a uint8

Previous CL (cmd/internal/objabi: shrink SymType down to a uint8) shrinks
SymType down to a uint8 but forgot making according change in goobj.

Fixes #20296
Also add a test to catch such Goobj format inconsistency bug

Change-Id: Ib43dd7122cfcacf611a643814e95f8c5a924941f
Reviewed-on: https://go-review.googlesource.com/42971
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Hudson-Doyle <michael.hudson@canonical.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/internal/goobj/read.go
src/cmd/internal/objabi/doc.go
src/cmd/objdump/objdump_test.go