]> 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>
Sun, 10 Sep 2023 16:39:41 +0000 (19:39 +0300)
commitee638bc5b53cff87768b0b7c6d2c4a4e275994f6
treee43a57b18c640e41b7b93ec4810313e7571f3adf
parentbb5f9036d5f6914215c75e19048444b2ce06b190
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