From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=58597 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6kpT-0003Xa-5p for qemu-devel@nongnu.org; Mon, 04 Apr 2011 10:32:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q6kpP-000382-A9 for qemu-devel@nongnu.org; Mon, 04 Apr 2011 10:32:30 -0400 Received: from cantor.suse.de ([195.135.220.2]:53518 helo=mx1.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q6kpP-00037G-4L for qemu-devel@nongnu.org; Mon, 04 Apr 2011 10:32:27 -0400 From: Alexander Graf Date: Mon, 4 Apr 2011 16:32:11 +0200 Message-Id: <1301927544-32767-3-git-send-email-agraf@suse.de> In-Reply-To: <1301927544-32767-1-git-send-email-agraf@suse.de> References: <1301927544-32767-1-git-send-email-agraf@suse.de> Subject: [Qemu-devel] [PATCH 02/15] s390x: set alignment for long to 8 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU-devel Developers Cc: peter.maydell@linaro.org, Aurelien Jarno , Richard Henderson The alignment for longs on s390x is 8. That's the only place where it differs from the default alignments found in configure already. The example alignment program from Laurent printed the following on a real s390x: alignof(short) 2 alignof(int) 4 alignof(long) 8 alignof(long long) 8 Signed-off-by: Alexander Graf --- configure | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/configure b/configure index faaed60..1e068e6 100755 --- a/configure +++ b/configure @@ -3182,6 +3182,7 @@ case "$target_arch2" in s390x) target_nptl="yes" target_phys_bits=64 + target_long_alignment=8 ;; *) echo "Unsupported target CPU" -- 1.6.0.2