From patchwork Mon Jul 1 17:35:18 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 18215 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f197.google.com (mail-we0-f197.google.com [74.125.82.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3B4F125E46 for ; Mon, 1 Jul 2013 17:35:37 +0000 (UTC) Received: by mail-we0-f197.google.com with SMTP id w56sf5551479wes.0 for ; Mon, 01 Jul 2013 10:35:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=gzvbrHL9rMkmAHsh9dF3zcM87FK9+Aivb3lMDSJLodI=; b=H42aBWfibmnJ89LEaw5efno1m2y1o4DKzgqH/Q7oZ6Hik4yOv68rk4QqO54c338Cmc EbNod5o5uqjK+DFDLkMdz+xrhR9BXBgSIChKeTecM4xvRwiGoF5IPr6HWg+wLBC2uh19 zJxNBRWLSljlBKxo8W56ee5F4MtVVUvH+oPrqb+4+Yqd1aBNhK10xYJUk/w8fdcFm2y0 YYeQU76XqFORMDejVeotDj2ZEsjPCIq12P0dyWK7T0dg55fybR3ZQOnHAObT/MGou4ja T0q04UNZAAIi2q+p7oKLdSRTgew/JOP88eyejlUSXZ2IHmaisiTtPtAZh6wgZTKfPX1z fxAA== X-Received: by 10.180.187.229 with SMTP id fv5mr9507609wic.6.1372700136220; Mon, 01 Jul 2013 10:35:36 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.180.93.71 with SMTP id cs7ls766521wib.37.canary; Mon, 01 Jul 2013 10:35:36 -0700 (PDT) X-Received: by 10.180.78.39 with SMTP id y7mr12995806wiw.4.1372700136005; Mon, 01 Jul 2013 10:35:36 -0700 (PDT) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id fa18si3539522wic.43.2013.07.01.10.35.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 01 Jul 2013 10:35:36 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.181; Received: by mail-ve0-f181.google.com with SMTP id db10so4039265veb.12 for ; Mon, 01 Jul 2013 10:35:34 -0700 (PDT) X-Received: by 10.52.95.113 with SMTP id dj17mr8424310vdb.82.1372700134798; Mon, 01 Jul 2013 10:35:34 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.165.8 with SMTP id yu8csp289812veb; Mon, 1 Jul 2013 10:35:34 -0700 (PDT) X-Received: by 10.15.36.72 with SMTP id h48mr22473690eev.33.1372700127763; Mon, 01 Jul 2013 10:35:27 -0700 (PDT) Received: from mnementh.archaic.org.uk (1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.1.0.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:1d0::1]) by mx.google.com with ESMTPS id y5si11457724eew.233.2013.07.01.10.35.27 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 01 Jul 2013 10:35:27 -0700 (PDT) Received-SPF: neutral (google.com: 2001:8b0:1d0::1 is neither permitted nor denied by best guess record for domain of pm215@archaic.org.uk) client-ip=2001:8b0:1d0::1; Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1Uti0c-0002MM-4h; Mon, 01 Jul 2013 18:35:26 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org, Alexander Graf , Andreas Schwab , "Mian M. Hamayun" Subject: [PATCH v5 19/21] configure: Add handling code for AArch64 targets Date: Mon, 1 Jul 2013 18:35:18 +0100 Message-Id: <1372700120-8896-20-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1372700120-8896-1-git-send-email-peter.maydell@linaro.org> References: <1372700120-8896-1-git-send-email-peter.maydell@linaro.org> X-Gm-Message-State: ALoCoQnjeZz36lnZJYFQbvPx8z1IrH6zWLsVSWGYCUzjUituqFfp2CddEueXeH9lMfYZV8N6UFCY X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Alexander Graf Add the necessary code to configure to handle AArch64 as a target CPU (we already have some code for supporting it as host). Note that this doesn't enable the AArch64 targets yet. Signed-off-by: Alexander Graf Signed-off-by: John Rigby Message-id: 1368505980-17151-12-git-send-email-john.rigby@linaro.org [PMM: * don't need to set TARGET_ABI_DIR to aarch64 as that is the default * don't build nwfpe -- this is 32 bit legacy only * rewrite commit message * add aarch64 to the list of "fdt required" targets ] Signed-off-by: Peter Maydell --- configure | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 0e0adde..2f83771 100755 --- a/configure +++ b/configure @@ -2491,7 +2491,7 @@ fi fdt_required=no for target in $target_list; do case $target in - arm*-softmmu|ppc*-softmmu|microblaze*-softmmu) + aarch64*-softmmu|arm*-softmmu|ppc*-softmmu|microblaze*-softmmu) fdt_required=yes ;; esac @@ -4169,6 +4169,13 @@ case "$target_name" in target_nptl="yes" gdb_xml_files="arm-core.xml arm-vfp.xml arm-vfp3.xml arm-neon.xml" ;; + aarch64) + TARGET_BASE_ARCH=arm + bflt="yes" + target_nptl="yes" + gdb_xml_files="aarch64-core.xml aarch64-fpu.xml" + target_long_alignment=8 + ;; cris) target_nptl="yes" ;;