crypto: x86/curve25519 - disable gcov
Subsystems (2)
PATCH 1/1 crypto: x86/curve25519 - disable gcov
curve25519-x86_64.c fails to build when CONFIG_GCOV_KERNEL is enabled. The error is "inline assembly requires more registers than available" thrown from the fsqr() function. Therefore, excluding this file from GCOV profiling until this issue is resolved. Thereby allowing CONFIG_GCOV_PROFILE_ALL to be enabled for x86.
Signed-off-by Joe Fradley <[email protected]>
--- arch/x86/crypto/Makefile | 3 +++ 1 file changed, 3 insertions(+)
arch/x86/crypto/Makefile +3 -0
@@ -107,3 +107,6 @@ quiet_cmd_perlasm = PERLASM $@ cmd_perlasm = $(PERL) $< > $@ $(obj)/%.S: $(src)/%.pl FORCE $(call if_changed,perlasm) + +# Disable GCOV in odd or sensitive code +GCOV_PROFILE_curve25519-x86_64.o := n
Signature · 1 line
2.38.1.584.g0f3c55d4c2-goog
Herbert Xu
maintainerQuoted 10 lines · Joe Fradley
curve25519-x86_64.cfails to build whenCONFIG_GCOV_KERNELis enabled. The error is "inline assembly requires more registers than available" thrown from thefsqr()function. Therefore, excluding this file from GCOV profiling until this issue is resolved. Thereby allowingCONFIG_GCOV_PROFILE_ALLto be enabled for x86.Signed-off-by Joe Fradley <[email protected]>--- arch/x86/crypto/Makefile | 3 +++ 1 file changed, 3 insertions(+)
Patch applied. Thanks.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt