]> Cypherpunks.ru repositories - gostls13.git/commit
debug/elf: fix inccorrect value in COMPRESS_ZLIB string name
authorFlorian Zenker <floriank@google.com>
Fri, 14 Oct 2022 09:13:38 +0000 (09:13 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 14 Oct 2022 17:10:16 +0000 (17:10 +0000)
commit8826bdd143314895230776e582043d34ea635a33
treee556e21a5b0e2006b9fc2630b075d9d81e625eab
parente9cdca9a24b63cba0560978fb48773b83805be25
debug/elf: fix inccorrect value in COMPRESS_ZLIB string name

LLVM recently introduced ZSTD compression for ELF sections. The error
message when failing to read the compressed section calls this
COMPRESS_ZLIB+2 while it should report it as COMPRESS_ZLIB+1.

Change-Id: I869aa69baf0c8c86665475b47343c790587cb39b
Reviewed-on: https://go-review.googlesource.com/c/go/+/443035
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/debug/elf/elf.go
src/debug/elf/elf_test.go