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>
This commit is contained in:
Alexander Graf 2011-04-04 16:32:11 +02:00 committed by Aurelien Jarno
parent d04fba948f
commit 7b3da90304
1 changed files with 1 additions and 0 deletions

1
configure vendored
View File

@ -3184,6 +3184,7 @@ case "$target_arch2" in
s390x)
target_nptl="yes"
target_phys_bits=64
target_long_alignment=8
;;
*)
echo "Unsupported target CPU"