summary refs log tree commit diff stats
path: root/linux-user/s390x/target_elf.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-07-27 21:39:23 -1000
committerRichard Henderson <richard.henderson@linaro.org>2025-08-28 06:39:25 +1000
commit1d4774b60e3dfdc9295e36c5fa298b457d10db10 (patch)
tree1eb180823ef059c2915beecd4b414cd3771f8282 /linux-user/s390x/target_elf.h
parent92c9983c06fa0a55f120c71dda03e38d5220fccc (diff)
downloadfocaccia-qemu-1d4774b60e3dfdc9295e36c5fa298b457d10db10.tar.gz
focaccia-qemu-1d4774b60e3dfdc9295e36c5fa298b457d10db10.zip
linux-user: Move hwcap functions to s390x/elfload.c
For get_elf_hwcap, change the return type to abi_ulong
and pass in the cpu.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/s390x/target_elf.h')
-rw-r--r--linux-user/s390x/target_elf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/s390x/target_elf.h b/linux-user/s390x/target_elf.h
index e51b053339..cebace949a 100644
--- a/linux-user/s390x/target_elf.h
+++ b/linux-user/s390x/target_elf.h
@@ -8,4 +8,6 @@
 #ifndef S390X_TARGET_ELF_H
 #define S390X_TARGET_ELF_H
 
+#define HAVE_ELF_HWCAP          1
+
 #endif