From patchwork Mon May 13 06:29:16 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Rigby X-Patchwork-Id: 243301 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 40F0C2C008F for ; Mon, 13 May 2013 16:37:42 +1000 (EST) Received: from localhost ([::1]:53232 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbmOC-0004Yi-H4 for incoming@patchwork.ozlabs.org; Mon, 13 May 2013 02:37:40 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbmGw-0001ba-EC for qemu-devel@nongnu.org; Mon, 13 May 2013 02:30:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UbmGt-0000HB-Ia for qemu-devel@nongnu.org; Mon, 13 May 2013 02:30:10 -0400 Received: from mail-pb0-x22e.google.com ([2607:f8b0:400e:c01::22e]:61543) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbmGt-0000Gm-Bs for qemu-devel@nongnu.org; Mon, 13 May 2013 02:30:07 -0400 Received: by mail-pb0-f46.google.com with SMTP id rq13so625520pbb.19 for ; Sun, 12 May 2013 23:30:06 -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:in-reply-to :references:x-gm-message-state; bh=37QuP4Rf5fnWAkb62ICWyEpSnHn0Eoas1P5l7J8iMWY=; b=cl5QlqxNW5k49rP7iLwOOotIHHllJ4ccJoUh2QLFbhQq0aJxBkeInFrqObMbTh6Js+ sdT2u9U6eMYAcpC0mEHotTWGMtThBqodvXdCKHJyWnhj5uz9wRHgGBB7Rdcb84ctM1BV vBJZbyOSfsslYYD+fkS0h0Ne6+l/HbvCElIuBC9wSn7FYR4LvZfLMjKtDkXDTbtsch7B 88dOmCyMw6lAsEoB0plY2yyDA4pMrX3D+PAQaT6XXStjjtjMPMpbEqZBSXx07PzcGbGB 9WqstY5A8zEMEZcg643hLS0Az9IwCn1GlgC8PUr5/Ni2RYPKzG1WBhKCC2zz8MU0Svdc jC9g== X-Received: by 10.68.166.229 with SMTP id zj5mr2351005pbb.167.1368426606503; Sun, 12 May 2013 23:30:06 -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 to7sm13677019pab.0.2013.05.12.23.30.04 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 12 May 2013 23:30:05 -0700 (PDT) From: John Rigby To: qemu-devel@nongnu.org Date: Mon, 13 May 2013 00:29:16 -0600 Message-Id: <1368426557-27416-12-git-send-email-john.rigby@linaro.org> X-Mailer: git-send-email 1.8.2.2 In-Reply-To: <1368426557-27416-1-git-send-email-john.rigby@linaro.org> References: <1368426557-27416-1-git-send-email-john.rigby@linaro.org> X-Gm-Message-State: ALoCoQmgDedvfNzybUhaZXVVFEZN7Y2qmFb1tjv4/sIGvEAExHbN3wqXcuYArdIRYLhw8U1iADVX X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c01::22e Cc: 'Peter Maydell , John Rigby , Riku Voipio , Alexander Graf Subject: [Qemu-devel] [PATCH v3 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 Signed-off-by: John Rigby --- configure | 8 ++++++++ linux-user/Makefile.objs | 1 + 2 files changed, 9 insertions(+) diff --git a/configure b/configure index 9439f1c..4f5be7a 100755 --- a/configure +++ b/configure @@ -4191,6 +4191,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=aarch64 + 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