commit | 39476538942f0ae1eff5e03f08399ef1eeca0cc0 | [log] [tgz] |
---|---|---|
author | Richard Henderson <richard.henderson@linaro.org> | Sun Jul 27 20:34:19 2025 -1000 |
committer | Richard Henderson <richard.henderson@linaro.org> | Thu Aug 28 06:39:25 2025 +1000 |
tree | 6a96d28f701e965e353df59348d8e9a3e4d30ec4 | |
parent | af880af8d4624b619c9d44ff5d27440ae064f99a [diff] |
linux-user: Move get_elf_hwcap to {i386,x86_64}/elfload.c Change the return type to abi_ulong, and pass in the cpu. Duplicate the one line function between i386 and x86_64, as most other additions to elfload.c won't be common. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>