]> Cypherpunks repositories - gostls13.git/commit
cmd/link: fix number-of-files entry in gopclntab
authorCherry Zhang <cherryyz@google.com>
Thu, 15 Sep 2016 23:52:40 +0000 (19:52 -0400)
committerCherry Zhang <cherryyz@google.com>
Fri, 16 Sep 2016 01:41:56 +0000 (01:41 +0000)
commitbb12894d2b51f8a50c0783db6043247758706466
treefa5cfd8a43de210409c3ea2eb3a8eccf86796a2e
parent544010a05a90e45763ec9a8c149fc5137e1ec461
cmd/link: fix number-of-files entry in gopclntab

According to golang.org/s/go12symtab, for N files, it should put N+1
there.

Fixes #17132.

Change-Id: I0c84136855c6436be72b9d3c407bf10d4c81a099
Reviewed-on: https://go-review.googlesource.com/29275
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/cmd/link/internal/ld/pcln.go