Set HWCAP_SPARC_CRYPTO in AT_HWCAP like Linux does on real hardware that supports it.
Signed-off-by: Stian Halseth <[email protected]> --- linux-user/sparc/elfload.c | 1 + 1 file changed, 1 insertion(+) diff --git a/linux-user/sparc/elfload.c b/linux-user/sparc/elfload.c index 181f1e00b5..0412741285 100644 --- a/linux-user/sparc/elfload.c +++ b/linux-user/sparc/elfload.c @@ -90,6 +90,7 @@ abi_ulong get_elf_hwcap(CPUState *cs) r |= features & CPU_FEATURE_FMAF ? HWCAP_SPARC_FMAF : 0; r |= features & CPU_FEATURE_VIS3 ? HWCAP_SPARC_VIS3 : 0; r |= features & CPU_FEATURE_IMA ? HWCAP_SPARC_IMA : 0; + r |= features & CPU_FEATURE_CRYPTO ? HWCAP_SPARC_CRYPTO : 0; #endif return r; -- 2.43.0
