]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: fix ppc64-specific bug in genelfsym
authorThan McIntosh <thanm@google.com>
Wed, 8 Jul 2020 14:43:42 +0000 (10:43 -0400)
committerThan McIntosh <thanm@google.com>
Mon, 10 Aug 2020 11:37:47 +0000 (11:37 +0000)
commit18ee3498805f81ef7f3435800bc5581599c61872
tree60dac5208c0f4921de8315cc3e120ce9d457c7c1
parentd9c19a7d3ea355cdf709fe6ec57ab158164a44d5
[dev.link] cmd/link: fix ppc64-specific bug in genelfsym

The code in the the linker's genelfsym() routine was not properly
including runtime.text.%d marker symbols that are emitted on PPC64
when a very large text section is split into chunks. This bug was
introduced in CL 233338 when portions of asmb2() were converted
from sym.Symbol to loader.Sym usage.

Change-Id: Idfed944c41e1805f78f35be67bcdd18bdefd7819
Reviewed-on: https://go-review.googlesource.com/c/go/+/241498
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
src/cmd/link/internal/ld/symtab.go