diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2025-07-27 21:44:02 -1000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-08-28 06:39:25 +1000 |
| commit | 50e59ad0b7b1c71e858939504a749bf1a1313e2e (patch) | |
| tree | a63c44663f9e9d16bda5c62e8816cf2e9b413557 /linux-user/riscv/target_elf.h | |
| parent | 1d4774b60e3dfdc9295e36c5fa298b457d10db10 (diff) | |
| download | focaccia-qemu-50e59ad0b7b1c71e858939504a749bf1a1313e2e.tar.gz focaccia-qemu-50e59ad0b7b1c71e858939504a749bf1a1313e2e.zip | |
linux-user: Move get_elf_hwcap to riscv/elfload.c
Change the return type to abi_ulong, and pass in the cpu. As this is the last instance of get_elf_hwcap to be converted, remove the ifdef around the declaration in loader.h. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/riscv/target_elf.h')
| -rw-r--r-- | linux-user/riscv/target_elf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/riscv/target_elf.h b/linux-user/riscv/target_elf.h index bfe86105d0..48d9af557b 100644 --- a/linux-user/riscv/target_elf.h +++ b/linux-user/riscv/target_elf.h @@ -8,4 +8,6 @@ #ifndef RISCV_TARGET_ELF_H #define RISCV_TARGET_ELF_H +#define HAVE_ELF_HWCAP 1 + #endif |