]> Cypherpunks repositories - gostls13.git/commit
cmd/link: remove zdebug from ELF section header table
authorCherry Mui <cherryyz@google.com>
Thu, 4 May 2023 21:11:46 +0000 (17:11 -0400)
committerCherry Mui <cherryyz@google.com>
Fri, 5 May 2023 19:20:27 +0000 (19:20 +0000)
commit75136fc14c0d3ec64a2f6728e96fc86066d853c9
treedc0ade2bce22e09cb59705bc286055e96c8e0e6e
parentf90bb8a38f2f1ed2109f8fa88fb90a5c2db1f3fe
cmd/link: remove zdebug from ELF section header table

We now use SHF_COMPRESSED sections for DWARF compression, and no
longer generate zdebug sections on ELF platforms. No need to
generate them in the section header string table.

Updates #50796.

Change-Id: I5c79ccd43f803c75dbd86e28195d0db1c0beb087
Reviewed-on: https://go-review.googlesource.com/c/go/+/492719
Reviewed-by: Than McIntosh <thanm@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/link/internal/ld/dwarf.go