diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2025-07-29 11:43:27 -1000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-08-30 07:04:04 +1000 |
| commit | 8218eb6f52abd08c9e89baafdddec6f0d9234768 (patch) | |
| tree | 8bf3ffca812249aa596e703c0c40834d72999bd2 /linux-user/loader.h | |
| parent | dd1d0239a79c4e7947c901fcb1f232ecc0428a96 (diff) | |
| download | focaccia-qemu-8218eb6f52abd08c9e89baafdddec6f0d9234768.tar.gz focaccia-qemu-8218eb6f52abd08c9e89baafdddec6f0d9234768.zip | |
linux-user: Move arch_parse_elf_property to aarch64/elfload.c
Rename the controlling macro to HAVE_ELF_GNU_PROPERTY to match the other HAVE_* macros. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/loader.h')
| -rw-r--r-- | linux-user/loader.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linux-user/loader.h b/linux-user/loader.h index 2175dd4e0a..e42b8fa1e3 100644 --- a/linux-user/loader.h +++ b/linux-user/loader.h @@ -122,4 +122,9 @@ typedef struct { /* Note that both Elf32_Word and Elf64_Word are uint32_t. */ const VdsoImageInfo *get_vdso_image_info(uint32_t elf_flags); +bool arch_parse_elf_property(uint32_t pr_type, uint32_t pr_datasz, + const uint32_t *data, + struct image_info *info, + Error **errp); + #endif /* LINUX_USER_LOADER_H */ |