From patchwork Thu Feb 10 23:07:57 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 82682 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 0BA74B7128 for ; Fri, 11 Feb 2011 10:09:35 +1100 (EST) Received: from localhost ([127.0.0.1]:37413 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pnfdk-0007P2-7S for incoming@patchwork.ozlabs.org; Thu, 10 Feb 2011 18:09:32 -0500 Received: from [140.186.70.92] (port=44958 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pnfcc-0007On-Tj for qemu-devel@nongnu.org; Thu, 10 Feb 2011 18:08:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pnfcb-0002pk-LN for qemu-devel@nongnu.org; Thu, 10 Feb 2011 18:08:22 -0500 Received: from smtp6-g21.free.fr ([212.27.42.6]:57579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pnfca-0002p8-UB for qemu-devel@nongnu.org; Thu, 10 Feb 2011 18:08:21 -0500 Received: from Quad (unknown [78.238.229.36]) by smtp6-g21.free.fr (Postfix) with ESMTP id 2FF81822CB; Fri, 11 Feb 2011 00:08:13 +0100 (CET) Received: from laurent by Quad with local (Exim 4.72) (envelope-from ) id 1PnfcS-00061h-6I; Fri, 11 Feb 2011 00:08:12 +0100 From: Laurent Vivier To: Riku Voipio Date: Fri, 11 Feb 2011 00:07:57 +0100 Message-Id: <1297379278-23003-2-git-send-email-laurent@vivier.eu> X-Mailer: git-send-email 1.7.1 In-Reply-To: <20110209102532.GA29059@afflict.kos.to> References: <20110209102532.GA29059@afflict.kos.to> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 212.27.42.6 Cc: qemu-devel@nongnu.org, Laurent Vivier Subject: [Qemu-devel] [PATCH 1/2] Define target alignment size X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Laurent Vivier --- configure | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/configure b/configure index 2bf7f34..b71035b 100755 --- a/configure +++ b/configure @@ -2902,6 +2902,7 @@ target_nptl="no" interp_prefix1=`echo "$interp_prefix" | sed "s/%M/$target_arch2/g"` echo "CONFIG_QEMU_INTERP_PREFIX=\"$interp_prefix1\"" >> $config_target_mak gdb_xml_files="" +target_alignment=4 TARGET_ARCH="$target_arch2" TARGET_BASE_ARCH="" @@ -2934,6 +2935,7 @@ case "$target_arch2" in bflt="yes" gdb_xml_files="cf-core.xml cf-fp.xml" target_phys_bits=32 + target_alignment=2 ;; microblaze) bflt="yes" @@ -3012,6 +3014,7 @@ case "$target_arch2" in exit 1 ;; esac +echo "TARGET_ALIGNMENT=$target_alignment" >> $config_target_mak echo "TARGET_ARCH=$TARGET_ARCH" >> $config_target_mak target_arch_name="`echo $TARGET_ARCH | tr '[:lower:]' '[:upper:]'`" echo "TARGET_$target_arch_name=y" >> $config_target_mak