aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2011-04-04 16:32:11 +0200
committerAurelien Jarno <aurelien@aurel32.net>2011-04-10 21:23:33 +0200
commit7b3da903041eae8e756d5dd29c492e5f043c9954 (patch)
tree45ea6ae1d0eabf590db61a93ca73510ef0783834
parentd04fba948fb945e467f263e820b1100d657c533d (diff)
downloadqemu-7b3da903041eae8e756d5dd29c492e5f043c9954.zip
qemu-7b3da903041eae8e756d5dd29c492e5f043c9954.tar.gz
qemu-7b3da903041eae8e756d5dd29c492e5f043c9954.tar.bz2
s390x: set alignment for long to 8
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 <agraf@suse.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 2bb3faa..a4759ae 100755
--- a/configure
+++ b/configure
@@ -3184,6 +3184,7 @@ case "$target_arch2" in
s390x)
target_nptl="yes"
target_phys_bits=64
+ target_long_alignment=8
;;
*)
echo "Unsupported target CPU"