From patchwork Tue May 14 04:32:59 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Rigby X-Patchwork-Id: 243594 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 4672A2C00B8 for ; Tue, 14 May 2013 14:37:08 +1000 (EST) Received: from localhost ([::1]:44632 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uc6z4-0003Yl-FD for incoming@patchwork.ozlabs.org; Tue, 14 May 2013 00:37:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uc6w0-0007rm-GJ for qemu-devel@nongnu.org; Tue, 14 May 2013 00:33:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uc6vx-0008Q0-UP for qemu-devel@nongnu.org; Tue, 14 May 2013 00:33:56 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:55692) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uc6vx-0008Ps-Of for qemu-devel@nongnu.org; Tue, 14 May 2013 00:33:53 -0400 Received: by mail-pa0-f44.google.com with SMTP id jh10so155207pab.31 for ; Mon, 13 May 2013 21:33:53 -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=Ri+vPlgBiOJ78tdKQSaR7AhcxxfL2BY/h++HTIOCpx8=; b=htbVvSXPcnMRiCqgxyLI5FThdHm/K37sMNAbbRI0VocasjvjiqHFBYa2EshqRRhNKr muHrMsOS+aZi4uBzgiuxkxUhyr2fbPTaHeUpN6I0N05aCf7pOD7K2UcV9qKAAvsgKcMJ zW9qV/JH+vgXRdgIAIXNPjdNuHz8ng73d9j7yy2rPQPCEX1LMLVZZXqDx2D4YuyyVISa 5dj7vHTJjgEQe8nu1C37bPrcJxwwbjyr9Wtzif1VYbawMooUh5oKrypkCOs/t468OJjg kq3gbewIzC/5ALkV5SpAbnIFKuxxOXoCJOGwIKfMZnqQmsL26DCin2IqIiOEP7LV1YI5 dEpA== X-Received: by 10.68.106.229 with SMTP id gx5mr21540734pbb.95.1368506033073; Mon, 13 May 2013 21:33:53 -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 yj2sm12841472pbb.40.2013.05.13.21.33.50 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 13 May 2013 21:33:52 -0700 (PDT) From: John Rigby To: qemu-devel@nongnu.org Date: Mon, 13 May 2013 22:32:59 -0600 Message-Id: <1368505980-17151-12-git-send-email-john.rigby@linaro.org> X-Mailer: git-send-email 1.8.2.2 In-Reply-To: <1368505980-17151-1-git-send-email-john.rigby@linaro.org> References: <1368505980-17151-1-git-send-email-john.rigby@linaro.org> X-Gm-Message-State: ALoCoQmSOK5+K2ZNOYO9dCx53mmCsCV9DF0jO/6Y6Ye5TpjHg02bKEYhR6ux3orCOInORaE7D8Gv X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.220.44 Cc: 'Peter Maydell , John Rigby , Riku Voipio , 'Alexander Graf Subject: [Qemu-devel] [PATCH v4 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 --- Changes in v3: - Arch aarch64 gets its own TARGET_ABI_DIR configure | 8 ++++++++ linux-user/Makefile.objs | 1 + 2 files changed, 9 insertions(+) diff --git a/configure b/configure index cab6332..6113cfe 100755 --- a/configure +++ b/configure @@ -4200,6 +4200,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