Changes from v1: * Fix silly error in patch 1. Tested on arm with and without CONFIG_GETAUXVAL commented out in config-host.mak. Tested on ppc only with CONFIG_GETAUXVAL.
r~ Richard Henderson (6): osdep: Create qemu_getauxval and qemu_init_auxval tcg-ppc64: Use qemu_getauxval tcg-arm: Use qemu_getauxval tcg-s390: Use qemu_getauxval in query_facilities util: Provide fallback hwcap and platform for powerpc util: Use qemu_getauxval in linux qemu_cache_utils_init include/elf.h | 70 ++++++++++++++++++++++ include/qemu/cache-utils.h | 4 +- include/qemu/osdep.h | 20 +++++++ linux-user/main.c | 3 +- tcg/arm/tcg-target.c | 15 ++--- tcg/ppc64/tcg-target.c | 11 +--- tcg/s390/tcg-target.c | 95 ++++-------------------------- util/Makefile.objs | 1 + util/cache-utils.c | 51 +++++++--------- util/getauxval.c | 143 +++++++++++++++++++++++++++++++++++++++++++++ vl.c | 3 +- 11 files changed, 280 insertions(+), 136 deletions(-) create mode 100644 util/getauxval.c -- 1.8.1.4