]> Cypherpunks repositories - gostls13.git/commit
cmd/link: fix minor bug in trampoline insertion
authorCherry Zhang <cherryyz@google.com>
Thu, 7 May 2020 15:53:58 +0000 (11:53 -0400)
committerCherry Zhang <cherryyz@google.com>
Thu, 7 May 2020 20:18:02 +0000 (20:18 +0000)
commit33213039e5d806f93a11561609c804cef7c065b3
tree6733f2bbf76692b548be93802b30cea18a05f537
parent6f52790a20a2432ae61e0ec9852a3df823a16d40
cmd/link: fix minor bug in trampoline insertion

Fix a minor bug where it should use Textp2 instead of Textp. This
doesn't affect correctness. It just made the pre-allocation less
effective.

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