The getauxval routine was added to glibc for 2.16.  In order to 
better support qemu on systems prior to 2.16, add a qemu_getauxval
entry point, and add the relevant defines to our own elf.h.


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


Reply via email to