From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDfax-0006Mk-U8 for qemu-devel@nongnu.org; Fri, 30 Mar 2012 13:26:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SDfav-0008Hf-PW for qemu-devel@nongnu.org; Fri, 30 Mar 2012 13:26:39 -0400 Received: from mnementh.archaic.org.uk ([81.2.115.146]:53156) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDfav-0008HH-HE for qemu-devel@nongnu.org; Fri, 30 Mar 2012 13:26:37 -0400 From: Peter Maydell Date: Fri, 30 Mar 2012 18:02:48 +0100 Message-Id: <1333126970-4144-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH v2 0/2] target-arm, linux-user: userspace ARM BE8 support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Riku Voipio , Paul Brook , patches@linaro.org, =?UTF-8?q?Andreas=20F=C3=A4rber?= This is an update of Paul Brook's patch adding support for ARM BE8 userspace binaries: http://patchwork.ozlabs.org/patch/143758/ where I've basically just fixed the nits noted in code review: * rebase * use EF_ defines rather than hardcoded constants * make bswap_code a bool for future VMSTATE macro compatibility * update comment in cpu.h about TB flags bit field usage * factor out load-code-and-swap into arm_ld*_code functions and get_user_code* macros * fix stray trailing space at end of line * added braces in disas.c to satisfy checkpatch Paul: if you'd prefer it if I backed any of these out again, do say. Otherwise (unless Riku would prefer it to go through linux-user) I will probably put this in the next target-arm pullreq in a fortnight's time. Thanks! -- PMM Paul Brook (1): Userspace ARM BE8 support Peter Maydell (1): elf.h: Update EF_ARM_ constants to newer ABI versions disas.c | 18 +++++++++++++----- elf.h | 21 +++++++++++++++++++++ linux-user/elfload.c | 1 + linux-user/main.c | 34 +++++++++++++++++++++++++++++----- linux-user/qemu.h | 1 + target-arm/cpu.h | 32 ++++++++++++++++++++++++++++++-- target-arm/helper.c | 9 +++++---- target-arm/translate.c | 11 +++++++---- 8 files changed, 107 insertions(+), 20 deletions(-)