From patchwork Tue Apr 30 06:39:10 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Rigby X-Patchwork-Id: 240568 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 760852C00C6 for ; Tue, 30 Apr 2013 16:44:19 +1000 (EST) Received: from localhost ([::1]:50194 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UX4IT-0003pB-MN for incoming@patchwork.ozlabs.org; Tue, 30 Apr 2013 02:44:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UX4EM-0006fP-SQ for qemu-devel@nongnu.org; Tue, 30 Apr 2013 02:40:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UX4EJ-0004hv-QJ for qemu-devel@nongnu.org; Tue, 30 Apr 2013 02:40:02 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:61430) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UX4EJ-0004hk-HK for qemu-devel@nongnu.org; Tue, 30 Apr 2013 02:39:59 -0400 Received: by mail-pa0-f49.google.com with SMTP id hk2so177201pac.8 for ; Mon, 29 Apr 2013 23:39:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=XFDENJLboDjRxsUQJXEhadNc/XwbngNEJZNFOSxCUrI=; b=dXmwddKppriBMTuoNNH/4KX+7sowRCfasIyNSpsHyag19N+K7+XTysHoMBGoCEKEpx wqzKmlWv5/5ILVIv0/lvgeyNEw4k7cXipNECjRnldApIeHoA6iPZKrf3ffzWjvdMkC0S axrp+1sKTvsJpicMwr340kQSxV0aZVKxtvvh+CpjGDrALrkLM7SR+0Ma/DQQaa2Rto0P Ry5Tnf6dlnqrGi8k6qtTIa9SgjaevzUsNSD5NLOFxapY4WYRnUsZqHyAFbK4WJwiJ+Hl P6vbpkZtUjVfPYPP14aOdbRE9ajA2eMyb0VBSlW7HEydmtfDLCU9bx2ylhtfhtAjelI2 XTZQ== X-Received: by 10.66.242.166 with SMTP id wr6mr3597641pac.59.1367303998844; Mon, 29 Apr 2013 23:39:58 -0700 (PDT) Received: from localhost.localdomain (c-76-23-54-220.hsd1.ut.comcast.net. [76.23.54.220]) by mx.google.com with ESMTPSA id ea15sm5691498pad.16.2013.04.29.23.39.57 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Apr 2013 23:39:57 -0700 (PDT) From: John Rigby To: qemu-devel Date: Tue, 30 Apr 2013 00:39:10 -0600 Message-Id: <1367303950-9879-1-git-send-email-john.rigby@linaro.org> X-Mailer: git-send-email 1.7.3.3.398.g0b0cd X-Gm-Message-State: ALoCoQnGIYfNto5kVeIe+w99qF/2Rlp5BFMh/wBtdcL5ZiLxMTpiu09st5kjXkQ8jnUkyjZMQuxU X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.220.49 Cc: Peter Maydell , Alexander Graf Subject: [Qemu-devel] [PATCH v2 11/12] ARM: Add aarch64 target to configure X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Alexander Graf If we want to compile a target machine type that is AArch64 capable, we need to add a new 64-bit capable ARM target. Use AArch64 since that is the official ARM LTD name. Signed-off-by: Alexander Graf --- configure | 8 ++++++++ linux-user/Makefile.objs | 1 + 2 files changed, 9 insertions(+) diff --git a/configure b/configure index 21438d4..87ed42d 100755 --- a/configure +++ b/configure @@ -4185,6 +4185,14 @@ case "$target_arch2" in target_nptl="yes" gdb_xml_files="arm-core.xml arm-vfp.xml arm-vfp3.xml arm-neon.xml" ;; + aarch64) + TARGET_BASE_ARCH=arm + TARGET_ABI_DIR=arm + bflt="yes" + target_nptl="yes" + gdb_xml_files="aarch64-core.xml aarch64-fpu.xml" + target_long_alignment=8 + ;; cris) target_nptl="yes" ;; diff --git a/linux-user/Makefile.objs b/linux-user/Makefile.objs index 5899d72..c8709d6 100644 --- a/linux-user/Makefile.objs +++ b/linux-user/Makefile.objs @@ -4,4 +4,5 @@ obj-y = main.o syscall.o strace.o mmap.o signal.o \ obj-$(TARGET_HAS_BFLT) += flatload.o obj-$(TARGET_I386) += vm86.o obj-$(TARGET_ARM) += arm/nwfpe/ +obj-$(TARGET_AARCH64) += arm/nwfpe/ obj-$(TARGET_M68K) += m68k-sim.o