From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJW6E-0007sb-7T for qemu-devel@nongnu.org; Tue, 10 Sep 2013 18:08:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJW65-0006ZB-Qe for qemu-devel@nongnu.org; Tue, 10 Sep 2013 18:07:54 -0400 Received: from mail-pb0-x229.google.com ([2607:f8b0:400e:c01::229]:32954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJW65-0006Yy-JK for qemu-devel@nongnu.org; Tue, 10 Sep 2013 18:07:45 -0400 Received: by mail-pb0-f41.google.com with SMTP id rp2so8228319pbb.0 for ; Tue, 10 Sep 2013 15:07:44 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Tue, 10 Sep 2013 15:07:32 -0700 Message-Id: <1378850858-10799-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH v2 0/6] Improve getauxval support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aurelien@aurel32.net 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