]> Cypherpunks repositories - gostls13.git/commit
cmd/link: always set .dynsym info field
authorLE Manh Cuong <cuong.manhle.vn@gmail.com>
Sun, 1 Sep 2019 05:47:49 +0000 (12:47 +0700)
committerIan Lance Taylor <iant@golang.org>
Sun, 1 Sep 2019 23:59:23 +0000 (23:59 +0000)
commitfa7d40abe098a7d30e6cb492ee8e05306b8e537d
tree3835eccffcce4cdc54cb9bb169c28c8d00689536
parent79669dc705aa8fcddc8f9407c568e4317d619dfe
cmd/link: always set .dynsym info field

CL 187979 added set .dynsym info field, but it won't when
there are no global symbols. This CL sets that field
unconditionally.

Fixes #34000

Change-Id: Icc2f8bc74afdade88a377793e6760912b03686ba
Reviewed-on: https://go-review.googlesource.com/c/go/+/192600
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/link/internal/ld/elf.go