summary refs log tree commit diff stats
path: root/linux-user/loader.h
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2023-06-05 13:39:49 +0200
committerThomas Huth <thuth@redhat.com>2023-06-05 20:48:34 +0200
commite19807bee357a34b1c56f527203cf6be06fe663b (patch)
tree1f276cb23d8ce1694f535d4a0aeb8a602ab2c5d0 /linux-user/loader.h
parente1b819c804314c87555e143fd9ea2858c9d2d34c (diff)
downloadfocaccia-qemu-e19807bee357a34b1c56f527203cf6be06fe663b.tar.gz
focaccia-qemu-e19807bee357a34b1c56f527203cf6be06fe663b.zip
linux-user/elfload: Introduce elf_hwcap_str() on s390x
It is required for implementing /proc/cpuinfo emulation.

Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20230605113950.1169228-4-iii@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'linux-user/loader.h')
-rw-r--r--linux-user/loader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/loader.h b/linux-user/loader.h
index ad6ca9dbe3..59cbeacf24 100644
--- a/linux-user/loader.h
+++ b/linux-user/loader.h
@@ -58,6 +58,7 @@ extern unsigned long guest_stack_size;
 
 #ifdef TARGET_S390X
 uint32_t get_elf_hwcap(void);
+const char *elf_hwcap_str(uint32_t bit);
 #endif
 
 #endif /* LINUX_USER_LOADER_H */