]> git.ipfire.org Git - thirdparty/qemu.git/commit
linux-user/elfload: Set V in ELF_HWCAP for RISC-V
authorNathan Egge <negge@xiph.org>
Thu, 3 Aug 2023 13:14:24 +0000 (09:14 -0400)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 11 Sep 2023 07:53:50 +0000 (10:53 +0300)
commita568abcf17bf6f5a66f065b6d4db8042b3fdbd07
tree07216e44abb32e562c2d1d5e94e5788ca682d101
parent04535fb7b5cad162cb766e2b10bf54da0f9d737d
linux-user/elfload: Set V in ELF_HWCAP for RISC-V

Set V bit for hwcap if misa is set.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1793
Signed-off-by: Nathan Egge <negge@xiph.org>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Tested-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-Id: <20230803131424.40744-1-negge@xiph.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
(cherry picked from commit 4333f0924c2f2ca8efaebaed8c24f55f77d8b013)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
linux-user/elfload.c