]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.17] cmd/link: use SHT_INIT_ARRAY for .init_array section
authorIan Lance Taylor <iant@golang.org>
Tue, 21 Dec 2021 18:00:23 +0000 (10:00 -0800)
committerCarlos Amedee <carlos@golang.org>
Wed, 5 Jan 2022 18:14:20 +0000 (18:14 +0000)
commitab70d7c799e07772e8c4e38336da00136d78b2e9
tree731e3e56c75b9b8b028783815530cafd519fd182
parent1242f430a94ade0f560dc218029b2c830f65e6a2
[release-branch.go1.17] cmd/link: use SHT_INIT_ARRAY for .init_array section

For #50295
Fixes #50297

Change-Id: If55ebcd5f2af724da7c9c744458a56d21a7ddde7
Reviewed-on: https://go-review.googlesource.com/c/go/+/373734
Trust: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
(cherry picked from commit cfb0cc355233d4367b188b23a3bc143985a28b8c)
Reviewed-on: https://go-review.googlesource.com/c/go/+/374194
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
misc/cgo/testcarchive/carchive_test.go
src/cmd/link/internal/ld/elf.go