]> Cypherpunks repositories - gostls13.git/commit
cmd/link: merge note sections into one segment
authorMeng Zhuo <mzh@golangcn.org>
Tue, 30 Mar 2021 11:58:35 +0000 (19:58 +0800)
committerMeng Zhuo <mzh@golangcn.org>
Mon, 29 Nov 2021 00:58:50 +0000 (00:58 +0000)
commit1ea4d3b91164fb08b7022958b6cd8e290f12e017
treeee0b3d919d6246ee5d5a6c495a49eeed90308a37
parent78af02e8b5c5c9d3c6d5026fd72f57026a14952a
cmd/link: merge note sections into one segment

The ld from binutils merges note sections into one PT_NOTE
segment.
We should do that for consistency with binutils.

Change-Id: I45703525c720972d49c36c4f10ac47d1628b5698
Reviewed-on: https://go-review.googlesource.com/c/go/+/265957
Trust: Meng Zhuo <mzh@golangcn.org>
Trust: Emmanuel Odeke <emmanuel@orijtech.com>
Run-TryBot: Meng Zhuo <mzh@golangcn.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/cmd/link/elf_test.go
src/cmd/link/internal/ld/elf.go