From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiJfW-0007av-Ur for qemu-devel@nongnu.org; Thu, 08 May 2014 04:27:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WiJfW-0005q2-7B for qemu-devel@nongnu.org; Thu, 08 May 2014 04:27:06 -0400 Received: from mail-qg0-x249.google.com ([2607:f8b0:400d:c04::249]:36613) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiJfW-0005pn-1h for qemu-devel@nongnu.org; Thu, 08 May 2014 04:27:06 -0400 Received: by mail-qg0-f73.google.com with SMTP id q108so108982qgd.0 for ; Thu, 08 May 2014 01:27:05 -0700 (PDT) From: Doug Kwan Date: Thu, 8 May 2014 01:26:40 -0700 Message-Id: <1399537603-6905-1-git-send-email-dougkwan@google.com> Subject: [Qemu-devel] [PATCH 0/3] Adding new user mode target ppc64el-linux-user List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org Cc: riku.voipio@iki.fi, Doug Kwan , agraf@suse.de Hi This is a series of 3 patches to add a new target for little-endian PPC64 linux user mode. This first patch is for loading PPC64 ELFv2 binaries. The second patch is the biggest and it contains changes to set up the LE environment and handle byteswapping appropriately. The third patch contains the necessary configuration changes for the new target. This is tested briefly by running big-endian and little-endian Linux binaries in user mode. I also booted the QEMU ppc linux test image though it is 32-bit only. -Doug Doug Kwan (3): linux-user: Handle ELFv2 PPC64 binaries in user mode. PPC: Allow little-endian user mode. configure: Add new target ppc64el-linux-user configure | 6 +++++ default-configs/ppc64el-linux-user.mak | 1 + include/elf.h | 5 ++++ linux-user/elfload.c | 17 +++++++++++-- target-ppc/mem_helper.c | 16 ++++++++++-- target-ppc/translate.c | 45 ++++++++++++++++++++++------------ target-ppc/translate_init.c | 9 +++++++ 7 files changed, 80 insertions(+), 19 deletions(-) create mode 100644 default-configs/ppc64el-linux-user.mak -- 1.9.1.423.g4596e3a