diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2014-05-02 14:45:15 +0100 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2014-05-02 21:59:36 +0300 |
commit | ad6919dc0ab3b8ae26d772e883aa8e709785d249 (patch) | |
tree | e65ef0bd438bbe333b1bce0f6e69fb38c6e429dd /include | |
parent | 24e76ff06bcd0936ee8b04b15dca42efb7d614d1 (diff) | |
download | hqemu-ad6919dc0ab3b8ae26d772e883aa8e709785d249.zip hqemu-ad6919dc0ab3b8ae26d772e883aa8e709785d249.tar.gz |
linux-user/elfload.c: Support ARM HWCAP2 flags
The ARM kernel has chosen to spill into the HWCAP2 ELF feature bit flags
early, even though it hasn't yet exhausted all 32 bits of the HWCAP word.
Add support for setting this in the same way we do for HWCAP.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/elf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/elf.h b/include/elf.h index 667af6f..1599ab2 100644 --- a/include/elf.h +++ b/include/elf.h @@ -254,6 +254,7 @@ typedef int64_t Elf64_Sxword; #define AT_SECURE 23 /* boolean, was exec suid-like? */ #define AT_BASE_PLATFORM 24 /* string identifying real platforms */ #define AT_RANDOM 25 /* address of 16 random bytes */ +#define AT_HWCAP2 26 /* extension of AT_HWCAP */ #define AT_EXECFN 31 /* filename of the executable */ #define AT_SYSINFO 32 /* address of kernel entry point */ #define AT_SYSINFO_EHDR 33 /* address of kernel vdso */ |