]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.boringcrypto] crypto/internal/boring: remove .llvm_addrsig section
authorFilippo Valsorda <filippo@golang.org>
Sat, 6 Feb 2021 00:00:58 +0000 (01:00 +0100)
committerFilippo Valsorda <filippo@golang.org>
Sun, 7 Feb 2021 20:59:15 +0000 (20:59 +0000)
commit0d34d85dee216b62a4212d25de57e1119c1e7ee5
tree80afd8504b1af1b2f0609949d9cd7a1b16933b04
parent325e03a64fdea0dce391378383334d331c8f67ee
[dev.boringcrypto] crypto/internal/boring: remove .llvm_addrsig section

The section doesn't survive some of the mangling of the object file we
do while building it, and ld.lld --icf=safe throws a warning on it.

Could have changed the clang invocation to add -fno-addrsig, but this
change is safer in that it doesn't affect the FIPS module build.

Change-Id: I65e097a48857f90aaa641dceb47120350ba8c073
Reviewed-on: https://go-review.googlesource.com/c/go/+/290170
Trust: Filippo Valsorda <filippo@golang.org>
Run-TryBot: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/crypto/internal/boring/build.sh
src/crypto/internal/boring/goboringcrypto_linux_amd64.syso